
Expr * sqlite3LimitWhere(Parse *pParse,SrcList *pSrc,Expr *pWhere,ExprList *pOrderBy,Expr *pLimit,
                        char *zStmtType)

{
  byte bVar1;
  undefined *puVar2;
  Expr *pEVar3;
  ExprList *pEVar4;
  SrcList *pSrc_00;
  Select *pSelect;
  Expr *pEVar5;
  sqlite3 **db;
  short *psVar6;
  ExprList *pList;
  int iVar7;
  code *pcVar8;
  char *pcVar9;
  sqlite3 *psVar10;
  Index *pIVar11;
  Table *pTVar12;
  
  if (pOrderBy == (ExprList *)0x0) {
    if (pLimit == (Expr *)0x0) {
      return pWhere;
    }
  }
  else if (pLimit == (Expr *)0x0) {
    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);
    psVar10 = pParse->db;
    if (pWhere != (Expr *)0x0) {
      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);
      psVar10 = pParse->db;
    }
    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);
    return (Expr *)0x0;
  }
  pTVar12 = pSrc->a[0].pTab;
  if ((pTVar12->tabFlags & 0x20) == 0) {
    pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);
    pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);
    pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);
  }
  else {
    pIVar11 = pTVar12->pIndex;
    if (pIVar11 == (Index *)0x0) {
LAB_0007a814:
                    /* WARNING: Does not return */
      pcVar8 = (code *)trap(0);
      (*pcVar8)();
    }
    bVar1 = pIVar11->field_0x37;
    while ((bVar1 & 0xc0) != 0x80) {
      pIVar11 = pIVar11->pNext;
      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;
      bVar1 = pIVar11->field_0x37;
    }
    psVar10 = pParse->db;
    if (pIVar11->nKeyCol == 1) {
      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);
      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;
      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);
      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);
      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);
    }
    else {
      pList = (ExprList *)0x0;
      if (pIVar11->nKeyCol != 0) {
        iVar7 = 0;
        pList = (ExprList *)0x0;
        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);
        do {
          psVar6 = pIVar11->aiColumn + iVar7;
          iVar7 = iVar7 + 1;
          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);
          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);
        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);
      }
      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);
      if (pEVar3 != (Expr *)0x0) {
        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);
        (pEVar3->x).pList = pEVar4;
      }
    }
  }
  puVar2 = PTR_LAB_0015b700;
  pSrc->a[0].pTab = (Table *)0x0;
  pSrc_00 = (SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0);
  pSrc->a[0].pTab = pTVar12;
  pSrc->a[0].pIBIndex = (Index *)0x0;
  pSelect = sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,
                             pLimit);
  pEVar3 = sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0);
  sqlite3PExprAddSelect(pParse,pEVar3,pSelect);
  return pEVar3;
}



int FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,
                undefined4 param_6)

{
  byte bVar1;
  undefined *puVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  code *pcVar7;
  undefined4 uVar8;
  int iVar9;
  int iVar10;
  
  if (param_4 == 0) {
    if (param_5 == 0) {
      return param_3;
    }
  }
  else if (param_5 == 0) {
    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);
    uVar5 = *param_1;
    if (param_3 != 0) {
      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);
      uVar5 = *param_1;
    }
    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);
    return 0;
  }
  iVar10 = *(int *)(param_2 + 0x18);
  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {
    iVar9 = FUN_000726b4(param_1,0x4b,0,0);
    uVar5 = FUN_000726b4(param_1,0x4b,0,0);
    uVar5 = FUN_0005fad4(*param_1,0,uVar5);
  }
  else {
    iVar9 = *(int *)(iVar10 + 8);
    if (iVar9 == 0) {
LAB_0007a814:
                    /* WARNING: Does not return */
      pcVar7 = (code *)trap(0);
      (*pcVar7)();
    }
    bVar1 = *(byte *)(iVar9 + 0x37);
    while ((bVar1 & 0xc0) != 0x80) {
      iVar9 = *(int *)(iVar9 + 0x14);
      if (iVar9 == 0) goto LAB_0007a814;
      bVar1 = *(byte *)(iVar9 + 0x37);
    }
    uVar8 = *param_1;
    if (*(short *)(iVar9 + 0x32) == 1) {
      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);
      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);
      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);
      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);
      uVar5 = FUN_0005fad4(*param_1,0,uVar5);
    }
    else {
      uVar5 = 0;
      if (*(short *)(iVar9 + 0x32) != 0) {
        iVar6 = 0;
        uVar5 = 0;
        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);
        do {
          iVar4 = iVar6 * 2;
          iVar6 = iVar6 + 1;
          uVar3 = (*pcVar7)(uVar8,0x3b,
                            *(undefined4 *)
                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)
                           );
          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);
        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));
      }
      iVar9 = FUN_000726b4(param_1,0xa5,0,0);
      if (iVar9 != 0) {
        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);
        *(undefined4 *)(iVar9 + 0x14) = uVar8;
      }
    }
  }
  puVar2 = PTR_LAB_0015b700;
  *(undefined4 *)(param_2 + 0x18) = 0;
  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);
  *(int *)(param_2 + 0x18) = iVar10;
  *(undefined4 *)(param_2 + 0x4c) = 0;
  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);
  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);
  FUN_00072640(param_1,iVar10,uVar5);
  return iVar10;
}


lui gp,0xf
addiu gp,gp,-0x6ea8
addu gp,gp,t9
addiu sp,sp,-0x60
lw v0,0x70(sp)
sw gp,0x28(sp)
sw s2,0x40(sp)
or s2,a1,zero
sw s0,0x38(sp)
or s0,a0,zero
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s7,0x54(sp)
sw s6,0x50(sp)
sw s5,0x4c(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s1,0x3c(sp)
sw a3,0x6c(sp)
beq a3,zero,0x0007a6ac
_sw a2,0x68(sp)
beq v0,zero,0x0007a7c0
_lw a1,-0x7fc8(gp)
lw s8,0x18(s2)
lw v0,0x24(s8)
andi v0,v0,0x20
beq v0,zero,0x0007a6e4
_lw s4,-0x7e70(gp)
lw s7,0x8(s8)
beq s7,zero,0x0007a814
_li a0,0x80
lbu v0,0x37(s7)
andi v0,v0,0xc0
beq v0,a0,0x0007a504
_nop
li a1,-0x40
lw s7,0x14(s7)
beq s7,zero,0x0007a814
_nop
lbu v0,0x37(s7)
and v0,a1,v0
bne v0,a0,0x0007a4e8
_nop
lhu v0,0x32(s7)
li a0,0x1
beq v0,a0,0x0007a744
_lw s6,0x0(s0)
beq v0,zero,0x0007a590
_or s1,zero,zero
lw s5,-0x7ea0(gp)
or s3,zero,zero
lw s4,-0x7ed8(gp)
or s1,zero,zero
addiu s5,s5,-0x52c
addiu s4,s4,-0x19d0
lw a2,0x4(s7)
sll t1,s3,0x1
lw v0,0x4(s8)
li a1,0x3b
or a0,s6,zero
addu a2,a2,t1
or t9,s4,zero
addiu s3,s3,0x1
lh a2,0x0(a2)
sll a2,a2,0x4
addu v0,v0,a2
jalr t9
_lw a2,0x0(v0)
or a1,s1,zero
lw a0,0x0(s0)
or t9,s5,zero
bal 0x0005fad4
_or a2,v0,zero
lhu a0,0x32(s7)
or s1,v0,zero
slt a0,s3,a0
bne a0,zero,0x0007a534
_lw gp,0x28(sp)
lw s4,-0x7e70(gp)
or a3,zero,zero
or a2,zero,zero
li a1,0xa5
addiu s4,s4,0x26b4
or t9,s4,zero
bal 0x000726b4
_or a0,s0,zero
lw gp,0x28(sp)
beq v0,zero,0x0007a5dc
_or s5,v0,zero
lw t9,-0x7eb0(gp)
or a2,zero,zero
or a1,s1,zero
addiu t9,t9,-0x21f0
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
sw v0,0x14(s5)
lw t9,-0x7eb0(gp)
or a2,zero,zero
sw zero,0x18(s2)
or a1,s2,zero
addiu t9,t9,-0x1a78
jalr t9
_lw a0,0x0(s0)
or a1,s1,zero
lw gp,0x28(sp)
or a2,v0,zero
lw v1,0x70(sp)
or a0,s0,zero
lw v0,0x6c(sp)
lw a3,0x68(sp)
lw t9,-0x7ea0(gp)
sw s8,0x18(s2)
sw v1,0x20(sp)
addiu t9,t9,0xec
sw v0,0x18(sp)
sw zero,0x4c(s2)
sw zero,0x1c(sp)
sw zero,0x14(sp)
bal 0x000600ec
_sw zero,0x10(sp)
or a3,zero,zero
li a1,0x31
or a2,s5,zero
or a0,s0,zero
or t9,s4,zero
bal 0x000726b4
_or s1,v0,zero
lw gp,0x28(sp)
or a1,v0,zero
sw v0,0x34(sp)
or a2,s1,zero
lw t9,-0x7e70(gp)
addiu t9,t9,0x2640
bal 0x00072640
_or a0,s0,zero
lw v0,0x34(sp)
lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
bne v0,zero,0x0007a4b4
_lw ra,0x5c(sp)
lw v0,0x68(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
or a3,zero,zero
or a2,zero,zero
li a1,0x4b
addiu s4,s4,0x26b4
or t9,s4,zero
bal 0x000726b4
_or a0,s0,zero
or a3,zero,zero
or a2,zero,zero
li a1,0x4b
or a0,s0,zero
or t9,s4,zero
bal 0x000726b4
_or s5,v0,zero
lw gp,0x28(sp)
or a1,zero,zero
lw a0,0x0(s0)
lw t9,-0x7ea0(gp)
addiu t9,t9,-0x52c
bal 0x0005fad4
_or a2,v0,zero
lw gp,0x28(sp)
b 0x0007a5dc
_or s1,v0,zero
lw v1,0x4(s7)
li a1,0x3b
lw v0,0x4(s8)
or a0,s6,zero
lw s1,-0x7ed8(gp)
lh v1,0x0(v1)
addiu s1,s1,-0x19d0
sll v1,v1,0x4
or t9,s1,zero
addu v0,v0,v1
lw s4,0x0(v0)
jalr t9
_or a2,s4,zero
li a1,0x3b
or a2,s4,zero
or t9,s1,zero
or a0,s6,zero
jalr t9
_or s5,v0,zero
lw gp,0x28(sp)
or a1,zero,zero
lw a0,0x0(s0)
lw t9,-0x7ea0(gp)
addiu t9,t9,-0x52c
bal 0x0005fad4
_or a2,v0,zero
lw gp,0x28(sp)
or s1,v0,zero
lw s4,-0x7e70(gp)
b 0x0007a5dc
_addiu s4,s4,0x26b4
lw t9,-0x7e70(gp)
lw a2,0x74(sp)
addiu t9,t9,0x1104
bal 0x00071104
_addiu a1,a1,0x7ad8
lw v0,0x68(sp)
lw gp,0x28(sp)
beq v0,zero,0x0007a7fc
_lw a0,0x0(s0)
lw t9,-0x7ef0(gp)
addiu t9,t9,0x7bc4
jalr t9
_or a1,v0,zero
lw gp,0x28(sp)
lw a0,0x0(s0)
lw t9,-0x7ef0(gp)
addiu t9,t9,0x7d30
jalr t9
_lw a1,0x6c(sp)
b 0x0007a67c
_or v0,zero,zero
lhu v0,0x32(zero)
teq zero,zero
(translation_unit "int FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}\n\n" (function_definition "int FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}" primitive_type (function_declarator "FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (if_statement "if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }" { (if_statement "if (param_5 == 0) {\n      return param_3;\n    }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) })) }) (else_clause "else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" else (if_statement "if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" { (expression_statement "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);" (call_expression "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6)" identifier (argument_list "(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6)" ( identifier , (binary_expression "PTR_LAB_0015b5e8 + 0x7ad8" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar5 = *param_1;" (assignment_expression "uVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }" { (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7bc4)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x7bc4" identifier + number_literal) )))) )) (argument_list "(uVar5,param_3)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = *param_1;" (assignment_expression "uVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7d30)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7d30)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x7d30" identifier + number_literal) )))) )) (argument_list "(uVar5,param_4)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar10 = *(int *)(param_2 + 0x18);" (assignment_expression "iVar10 = *(int *)(param_2 + 0x18)" identifier = (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" if (parenthesized_expression "((*(uint *)(iVar10 + 0x24) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar10 + 0x24) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar10 + 0x24) & 0x20)" ( (binary_expression "*(uint *)(iVar10 + 0x24) & 0x20" (pointer_expression "*(uint *)(iVar10 + 0x24)" * (cast_expression "(uint *)(iVar10 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x24)" ( (binary_expression "iVar10 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }" { (expression_statement "iVar9 = FUN_000726b4(param_1,0x4b,0,0);" (assignment_expression "iVar9 = FUN_000726b4(param_1,0x4b,0,0)" identifier = (call_expression "FUN_000726b4(param_1,0x4b,0,0)" identifier (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar5 = FUN_000726b4(param_1,0x4b,0,0);" (assignment_expression "uVar5 = FUN_000726b4(param_1,0x4b,0,0)" identifier = (call_expression "FUN_000726b4(param_1,0x4b,0,0)" identifier (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar5 = FUN_0005fad4(*param_1,0,uVar5);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,0,uVar5)" identifier = (call_expression "FUN_0005fad4(*param_1,0,uVar5)" identifier (argument_list "(*param_1,0,uVar5)" ( (pointer_expression "*param_1" * identifier) , number_literal , identifier )))) ;) }) (else_clause "else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" else (compound_statement "{\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" { (expression_statement "iVar9 = *(int *)(iVar10 + 8);" (assignment_expression "iVar9 = *(int *)(iVar10 + 8)" identifier = (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }" { (labeled_statement "LAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar7 = (code *)trap(0);" statement_identifier : comment (expression_statement "pcVar7 = (code *)trap(0);" (assignment_expression "pcVar7 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;)) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = *(byte *)(iVar9 + 0x37);" (assignment_expression "bVar1 = *(byte *)(iVar9 + 0x37)" identifier = (pointer_expression "*(byte *)(iVar9 + 0x37)" * (cast_expression "(byte *)(iVar9 + 0x37)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x37)" ( (binary_expression "iVar9 + 0x37" identifier + number_literal) ))))) ;) (while_statement "while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }" while (parenthesized_expression "((bVar1 & 0xc0) != 0x80)" ( (binary_expression "(bVar1 & 0xc0) != 0x80" (parenthesized_expression "(bVar1 & 0xc0)" ( (binary_expression "bVar1 & 0xc0" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }" { (expression_statement "iVar9 = *(int *)(iVar9 + 0x14);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x14)" identifier = (pointer_expression "*(int *)(iVar9 + 0x14)" * (cast_expression "(int *)(iVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) goto LAB_0007a814;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0007a814;" goto statement_identifier ;)) (expression_statement "bVar1 = *(byte *)(iVar9 + 0x37);" (assignment_expression "bVar1 = *(byte *)(iVar9 + 0x37)" identifier = (pointer_expression "*(byte *)(iVar9 + 0x37)" * (cast_expression "(byte *)(iVar9 + 0x37)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x37)" ( (binary_expression "iVar9 + 0x37" identifier + number_literal) ))))) ;) })) (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" if (parenthesized_expression "(*(short *)(iVar9 + 0x32) == 1)" ( (binary_expression "*(short *)(iVar9 + 0x32) == 1" (pointer_expression "*(short *)(iVar9 + 0x32)" * (cast_expression "(short *)(iVar9 + 0x32)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }" { (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" identifier + number_literal) )))) ;) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" * (cast_expression "(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" ( (binary_expression "*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + (binary_expression "**(short **)(iVar9 + 4) * 0x10" (pointer_expression "**(short **)(iVar9 + 4)" * (pointer_expression "*(short **)(iVar9 + 4)" * (cast_expression "(short **)(iVar9 + 4)" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) ))))) * number_literal)) ))))) ;) (expression_statement "iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);" (assignment_expression "iVar9 = (*pcVar7)(uVar8,0x3b,uVar5)" identifier = (call_expression "(*pcVar7)(uVar8,0x3b,uVar5)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar8,0x3b,uVar5)" ( identifier , number_literal , identifier )))) ;) (expression_statement "uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);" (assignment_expression "uVar5 = (*pcVar7)(uVar8,0x3b,uVar5)" identifier = (call_expression "(*pcVar7)(uVar8,0x3b,uVar5)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar8,0x3b,uVar5)" ( identifier , number_literal , identifier )))) ;) (expression_statement "uVar5 = FUN_0005fad4(*param_1,0,uVar5);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,0,uVar5)" identifier = (call_expression "FUN_0005fad4(*param_1,0,uVar5)" identifier (argument_list "(*param_1,0,uVar5)" ( (pointer_expression "*param_1" * identifier) , number_literal , identifier )))) ;) }) (else_clause "else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" else (compound_statement "{\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }" if (parenthesized_expression "(*(short *)(iVar9 + 0x32) != 0)" ( (binary_expression "*(short *)(iVar9 + 0x32) != 0" (pointer_expression "*(short *)(iVar9 + 0x32)" * (cast_expression "(short *)(iVar9 + 0x32)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" identifier + number_literal) )))) ;) (do_statement "do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));" do (compound_statement "{\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        }" { (expression_statement "iVar4 = iVar6 * 2;" (assignment_expression "iVar4 = iVar6 * 2" identifier = (binary_expression "iVar6 * 2" identifier * number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );" (assignment_expression "uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" identifier = (call_expression "(*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" ( identifier , number_literal , (pointer_expression "*(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" * (cast_expression "(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" ( (binary_expression "*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + (binary_expression "*(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10" (pointer_expression "*(short *)(*(int *)(iVar9 + 4) + iVar4)" * (cast_expression "(short *)(*(int *)(iVar9 + 4) + iVar4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar9 + 4) + iVar4)" ( (binary_expression "*(int *)(iVar9 + 4) + iVar4" (pointer_expression "*(int *)(iVar9 + 4)" * (cast_expression "(int *)(iVar9 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) )))) + identifier) )))) * number_literal)) )))) )))) ;) (expression_statement "uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3)" identifier = (call_expression "FUN_0005fad4(*param_1,uVar5,uVar3)" identifier (argument_list "(*param_1,uVar5,uVar3)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) }) while (parenthesized_expression "(iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32))" ( (binary_expression "iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32)" identifier < (binary_expression "(int)(uint)*(ushort *)(iVar9 + 0x32)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(ushort *)(iVar9 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar9 = FUN_000726b4(param_1,0xa5,0,0);" (assignment_expression "iVar9 = FUN_000726b4(param_1,0xa5,0,0)" identifier = (call_expression "FUN_000726b4(param_1,0xa5,0,0)" identifier (argument_list "(param_1,0xa5,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }" { (expression_statement "uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);" (assignment_expression "uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b700 + -0x21f0)" * (cast_expression "(code *)(PTR_LAB_0015b700 + -0x21f0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + -0x21f0)" ( (binary_expression "PTR_LAB_0015b700 + -0x21f0" identifier + number_literal) )))) )) (argument_list "(uVar8,uVar5,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar9 + 0x14) = uVar8;" (assignment_expression "*(undefined4 *)(iVar9 + 0x14) = uVar8" (pointer_expression "*(undefined4 *)(iVar9 + 0x14)" * (cast_expression "(undefined4 *)(iVar9 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) = identifier) ;) })) }))) }))) (expression_statement "puVar2 = PTR_LAB_0015b700;" (assignment_expression "puVar2 = PTR_LAB_0015b700" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);" (assignment_expression "uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0)" identifier = (call_expression "(*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0)" (parenthesized_expression "(*(code *)(puVar2 + -0x1a78))" ( (pointer_expression "*(code *)(puVar2 + -0x1a78)" * (cast_expression "(code *)(puVar2 + -0x1a78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1a78)" ( (binary_expression "puVar2 + -0x1a78" identifier + number_literal) )))) )) (argument_list "(*param_1,param_2,0)" ( (pointer_expression "*param_1" * identifier) , identifier , number_literal )))) ;) (expression_statement "*(int *)(param_2 + 0x18) = iVar10;" (assignment_expression "*(int *)(param_2 + 0x18) = iVar10" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" * (cast_expression "(undefined4 *)(param_2 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x4c)" ( (binary_expression "param_2 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);" (assignment_expression "uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" identifier = (call_expression "FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" identifier (argument_list "(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , identifier , number_literal , identifier )))) ;) (expression_statement "iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);" (assignment_expression "iVar10 = FUN_000726b4(param_1,0x31,iVar9,0)" identifier = (call_expression "FUN_000726b4(param_1,0x31,iVar9,0)" identifier (argument_list "(param_1,0x31,iVar9,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_00072640(param_1,iVar10,uVar5);" (call_expression "FUN_00072640(param_1,iVar10,uVar5)" identifier (argument_list "(param_1,iVar10,uVar5)" ( identifier , identifier , identifier ))) ;) (return_statement "return iVar10;" return identifier ;) })))
(translation_unit "Expr * sqlite3LimitWhere(Parse *pParse,SrcList *pSrc,Expr *pWhere,ExprList *pOrderBy,Expr *pLimit,\n                        char *zStmtType)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  Expr *pEVar3;\n  ExprList *pEVar4;\n  SrcList *pSrc_00;\n  Select *pSelect;\n  Expr *pEVar5;\n  sqlite3 **db;\n  short *psVar6;\n  ExprList *pList;\n  int iVar7;\n  code *pcVar8;\n  char *pcVar9;\n  sqlite3 *psVar10;\n  Index *pIVar11;\n  Table *pTVar12;\n  \n  if (pOrderBy == (ExprList *)0x0) {\n    if (pLimit == (Expr *)0x0) {\n      return pWhere;\n    }\n  }\n  else if (pLimit == (Expr *)0x0) {\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }\n  pTVar12 = pSrc->a[0].pTab;\n  if ((pTVar12->tabFlags & 0x20) == 0) {\n    pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n  }\n  else {\n    pIVar11 = pTVar12->pIndex;\n    if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }\n    bVar1 = pIVar11->field_0x37;\n    while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }\n    psVar10 = pParse->db;\n    if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  pSrc->a[0].pTab = (Table *)0x0;\n  pSrc_00 = (SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0);\n  pSrc->a[0].pTab = pTVar12;\n  pSrc->a[0].pIBIndex = (Index *)0x0;\n  pSelect = sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit);\n  pEVar3 = sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0);\n  sqlite3PExprAddSelect(pParse,pEVar3,pSelect);\n  return pEVar3;\n}\n\n" (function_definition "Expr * sqlite3LimitWhere(Parse *pParse,SrcList *pSrc,Expr *pWhere,ExprList *pOrderBy,Expr *pLimit,\n                        char *zStmtType)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  Expr *pEVar3;\n  ExprList *pEVar4;\n  SrcList *pSrc_00;\n  Select *pSelect;\n  Expr *pEVar5;\n  sqlite3 **db;\n  short *psVar6;\n  ExprList *pList;\n  int iVar7;\n  code *pcVar8;\n  char *pcVar9;\n  sqlite3 *psVar10;\n  Index *pIVar11;\n  Table *pTVar12;\n  \n  if (pOrderBy == (ExprList *)0x0) {\n    if (pLimit == (Expr *)0x0) {\n      return pWhere;\n    }\n  }\n  else if (pLimit == (Expr *)0x0) {\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }\n  pTVar12 = pSrc->a[0].pTab;\n  if ((pTVar12->tabFlags & 0x20) == 0) {\n    pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n  }\n  else {\n    pIVar11 = pTVar12->pIndex;\n    if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }\n    bVar1 = pIVar11->field_0x37;\n    while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }\n    psVar10 = pParse->db;\n    if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  pSrc->a[0].pTab = (Table *)0x0;\n  pSrc_00 = (SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0);\n  pSrc->a[0].pTab = pTVar12;\n  pSrc->a[0].pIBIndex = (Index *)0x0;\n  pSelect = sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit);\n  pEVar3 = sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0);\n  sqlite3PExprAddSelect(pParse,pEVar3,pSelect);\n  return pEVar3;\n}" type_identifier (pointer_declarator "* sqlite3LimitWhere(Parse *pParse,SrcList *pSrc,Expr *pWhere,ExprList *pOrderBy,Expr *pLimit,\n                        char *zStmtType)" * (function_declarator "sqlite3LimitWhere(Parse *pParse,SrcList *pSrc,Expr *pWhere,ExprList *pOrderBy,Expr *pLimit,\n                        char *zStmtType)" identifier (parameter_list "(Parse *pParse,SrcList *pSrc,Expr *pWhere,ExprList *pOrderBy,Expr *pLimit,\n                        char *zStmtType)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "SrcList *pSrc" type_identifier (pointer_declarator "*pSrc" * identifier)) , (parameter_declaration "Expr *pWhere" type_identifier (pointer_declarator "*pWhere" * identifier)) , (parameter_declaration "ExprList *pOrderBy" type_identifier (pointer_declarator "*pOrderBy" * identifier)) , (parameter_declaration "Expr *pLimit" type_identifier (pointer_declarator "*pLimit" * identifier)) , (parameter_declaration "char *zStmtType" primitive_type (pointer_declarator "*zStmtType" * identifier)) )))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  Expr *pEVar3;\n  ExprList *pEVar4;\n  SrcList *pSrc_00;\n  Select *pSelect;\n  Expr *pEVar5;\n  sqlite3 **db;\n  short *psVar6;\n  ExprList *pList;\n  int iVar7;\n  code *pcVar8;\n  char *pcVar9;\n  sqlite3 *psVar10;\n  Index *pIVar11;\n  Table *pTVar12;\n  \n  if (pOrderBy == (ExprList *)0x0) {\n    if (pLimit == (Expr *)0x0) {\n      return pWhere;\n    }\n  }\n  else if (pLimit == (Expr *)0x0) {\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }\n  pTVar12 = pSrc->a[0].pTab;\n  if ((pTVar12->tabFlags & 0x20) == 0) {\n    pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n  }\n  else {\n    pIVar11 = pTVar12->pIndex;\n    if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }\n    bVar1 = pIVar11->field_0x37;\n    while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }\n    psVar10 = pParse->db;\n    if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  pSrc->a[0].pTab = (Table *)0x0;\n  pSrc_00 = (SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0);\n  pSrc->a[0].pTab = pTVar12;\n  pSrc->a[0].pIBIndex = (Index *)0x0;\n  pSelect = sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit);\n  pEVar3 = sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0);\n  sqlite3PExprAddSelect(pParse,pEVar3,pSelect);\n  return pEVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "Expr *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (declaration "ExprList *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "SrcList *pSrc_00;" type_identifier (pointer_declarator "*pSrc_00" * identifier) ;) (declaration "Select *pSelect;" type_identifier (pointer_declarator "*pSelect" * identifier) ;) (declaration "Expr *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (declaration "sqlite3 **db;" type_identifier (pointer_declarator "**db" * (pointer_declarator "*db" * identifier)) ;) (declaration "short *psVar6;" (sized_type_specifier "short" short) (pointer_declarator "*psVar6" * identifier) ;) (declaration "ExprList *pList;" type_identifier (pointer_declarator "*pList" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "sqlite3 *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "Index *pIVar11;" type_identifier (pointer_declarator "*pIVar11" * identifier) ;) (declaration "Table *pTVar12;" type_identifier (pointer_declarator "*pTVar12" * identifier) ;) (if_statement "if (pOrderBy == (ExprList *)0x0) {\n    if (pLimit == (Expr *)0x0) {\n      return pWhere;\n    }\n  }\n  else if (pLimit == (Expr *)0x0) {\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }" if (parenthesized_expression "(pOrderBy == (ExprList *)0x0)" ( (binary_expression "pOrderBy == (ExprList *)0x0" identifier == (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pLimit == (Expr *)0x0) {\n      return pWhere;\n    }\n  }" { (if_statement "if (pLimit == (Expr *)0x0) {\n      return pWhere;\n    }" if (parenthesized_expression "(pLimit == (Expr *)0x0)" ( (binary_expression "pLimit == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pWhere;\n    }" { (return_statement "return pWhere;" return identifier ;) })) }) (else_clause "else if (pLimit == (Expr *)0x0) {\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }" else (if_statement "if (pLimit == (Expr *)0x0) {\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }" if (parenthesized_expression "(pLimit == (Expr *)0x0)" ( (binary_expression "pLimit == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);\n    psVar10 = pParse->db;\n    if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);\n    return (Expr *)0x0;\n  }" { (expression_statement "sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType);" (call_expression "sqlite3ErrorMsg(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType)" identifier (argument_list "(pParse,PTR_LAB_0015b5e8 + 0x7ad8,zStmtType)" ( identifier , (binary_expression "PTR_LAB_0015b5e8 + 0x7ad8" identifier + number_literal) , identifier ))) ;) (expression_statement "psVar10 = pParse->db;" (assignment_expression "psVar10 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (pWhere != (Expr *)0x0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }" if (parenthesized_expression "(pWhere != (Expr *)0x0)" ( (binary_expression "pWhere != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);\n      psVar10 = pParse->db;\n    }" { (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(psVar10,pWhere)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7bc4)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x7bc4" identifier + number_literal) )))) )) (argument_list "(psVar10,pWhere)" ( identifier , identifier ))) ;) (expression_statement "psVar10 = pParse->db;" (assignment_expression "psVar10 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) })) (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(psVar10,pOrderBy)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7d30)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7d30)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x7d30" identifier + number_literal) )))) )) (argument_list "(psVar10,pOrderBy)" ( identifier , identifier ))) ;) (return_statement "return (Expr *)0x0;" return (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))) (expression_statement "pTVar12 = pSrc->a[0].pTab;" (assignment_expression "pTVar12 = pSrc->a[0].pTab" identifier = (field_expression "pSrc->a[0].pTab" (subscript_expression "pSrc->a[0]" (field_expression "pSrc->a" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (if_statement "if ((pTVar12->tabFlags & 0x20) == 0) {\n    pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n  }\n  else {\n    pIVar11 = pTVar12->pIndex;\n    if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }\n    bVar1 = pIVar11->field_0x37;\n    while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }\n    psVar10 = pParse->db;\n    if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }\n  }" if (parenthesized_expression "((pTVar12->tabFlags & 0x20) == 0)" ( (binary_expression "(pTVar12->tabFlags & 0x20) == 0" (parenthesized_expression "(pTVar12->tabFlags & 0x20)" ( (binary_expression "pTVar12->tabFlags & 0x20" (field_expression "pTVar12->tabFlags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);\n    pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n  }" { (expression_statement "pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);" (assignment_expression "pEVar3 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0)" identifier = (call_expression "sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0)" identifier (argument_list "(pParse,0x4b,(Expr *)0x0,(Expr *)0x0)" ( identifier , number_literal , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0);" (assignment_expression "pEVar5 = sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0)" identifier = (call_expression "sqlite3PExpr(pParse,0x4b,(Expr *)0x0,(Expr *)0x0)" identifier (argument_list "(pParse,0x4b,(Expr *)0x0,(Expr *)0x0)" ( identifier , number_literal , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);" (assignment_expression "pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5)" identifier = (call_expression "sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5)" identifier (argument_list "((Parse *)pParse->db,(ExprList *)0x0,pEVar5)" ( (cast_expression "(Parse *)pParse->db" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pParse->db" identifier -> field_identifier)) , (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) }) (else_clause "else {\n    pIVar11 = pTVar12->pIndex;\n    if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }\n    bVar1 = pIVar11->field_0x37;\n    while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }\n    psVar10 = pParse->db;\n    if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }\n  }" else (compound_statement "{\n    pIVar11 = pTVar12->pIndex;\n    if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }\n    bVar1 = pIVar11->field_0x37;\n    while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }\n    psVar10 = pParse->db;\n    if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }\n  }" { (expression_statement "pIVar11 = pTVar12->pIndex;" (assignment_expression "pIVar11 = pTVar12->pIndex" identifier = (field_expression "pTVar12->pIndex" identifier -> field_identifier)) ;) (if_statement "if (pIVar11 == (Index *)0x0) {\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }" if (parenthesized_expression "(pIVar11 == (Index *)0x0)" ( (binary_expression "pIVar11 == (Index *)0x0" identifier == (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);\n      (*pcVar8)();\n    }" { (labeled_statement "LAB_0007a814:\n                    /* WARNING: Does not return */\n      pcVar8 = (code *)trap(0);" statement_identifier : comment (expression_statement "pcVar8 = (code *)trap(0);" (assignment_expression "pcVar8 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;)) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = pIVar11->field_0x37;" (assignment_expression "bVar1 = pIVar11->field_0x37" identifier = (field_expression "pIVar11->field_0x37" identifier -> field_identifier)) ;) (while_statement "while ((bVar1 & 0xc0) != 0x80) {\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }" while (parenthesized_expression "((bVar1 & 0xc0) != 0x80)" ( (binary_expression "(bVar1 & 0xc0) != 0x80" (parenthesized_expression "(bVar1 & 0xc0)" ( (binary_expression "bVar1 & 0xc0" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pIVar11 = pIVar11->pNext;\n      if (pIVar11 == (Index *)0x0) goto LAB_0007a814;\n      bVar1 = pIVar11->field_0x37;\n    }" { (expression_statement "pIVar11 = pIVar11->pNext;" (assignment_expression "pIVar11 = pIVar11->pNext" identifier = (field_expression "pIVar11->pNext" identifier -> field_identifier)) ;) (if_statement "if (pIVar11 == (Index *)0x0) goto LAB_0007a814;" if (parenthesized_expression "(pIVar11 == (Index *)0x0)" ( (binary_expression "pIVar11 == (Index *)0x0" identifier == (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0007a814;" goto statement_identifier ;)) (expression_statement "bVar1 = pIVar11->field_0x37;" (assignment_expression "bVar1 = pIVar11->field_0x37" identifier = (field_expression "pIVar11->field_0x37" identifier -> field_identifier)) ;) })) (expression_statement "psVar10 = pParse->db;" (assignment_expression "psVar10 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (pIVar11->nKeyCol == 1) {\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }\n    else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }" if (parenthesized_expression "(pIVar11->nKeyCol == 1)" ( (binary_expression "pIVar11->nKeyCol == 1" (field_expression "pIVar11->nKeyCol" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;\n      pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);\n      pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);\n    }" { (expression_statement "pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName;" (assignment_expression "pcVar9 = pTVar12->aCol[*pIVar11->aiColumn].zName" identifier = (field_expression "pTVar12->aCol[*pIVar11->aiColumn].zName" (subscript_expression "pTVar12->aCol[*pIVar11->aiColumn]" (field_expression "pTVar12->aCol" identifier -> field_identifier) [ (pointer_expression "*pIVar11->aiColumn" * (field_expression "pIVar11->aiColumn" identifier -> field_identifier)) ]) . field_identifier)) ;) (expression_statement "pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);" (assignment_expression "pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9)" identifier = (cast_expression "(Expr *)(*pcVar8)(psVar10,0x3b,pcVar9)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar8)(psVar10,0x3b,pcVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(psVar10,0x3b,pcVar9)" ( identifier , number_literal , identifier ))))) ;) (expression_statement "pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9);" (assignment_expression "pEVar5 = (Expr *)(*pcVar8)(psVar10,0x3b,pcVar9)" identifier = (cast_expression "(Expr *)(*pcVar8)(psVar10,0x3b,pcVar9)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar8)(psVar10,0x3b,pcVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(psVar10,0x3b,pcVar9)" ( identifier , number_literal , identifier ))))) ;) (expression_statement "pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5);" (assignment_expression "pList = sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5)" identifier = (call_expression "sqlite3ExprListAppend((Parse *)pParse->db,(ExprList *)0x0,pEVar5)" identifier (argument_list "((Parse *)pParse->db,(ExprList *)0x0,pEVar5)" ( (cast_expression "(Parse *)pParse->db" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pParse->db" identifier -> field_identifier)) , (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) }) (else_clause "else {\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }" else (compound_statement "{\n      pList = (ExprList *)0x0;\n      if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }\n      pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);\n      if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }\n    }" { (expression_statement "pList = (ExprList *)0x0;" (assignment_expression "pList = (ExprList *)0x0" identifier = (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (pIVar11->nKeyCol != 0) {\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }" if (parenthesized_expression "(pIVar11->nKeyCol != 0)" ( (binary_expression "pIVar11->nKeyCol != 0" (field_expression "pIVar11->nKeyCol" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        iVar7 = 0;\n        pList = (ExprList *)0x0;\n        pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);\n      }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "pList = (ExprList *)0x0;" (assignment_expression "pList = (ExprList *)0x0" identifier = (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" identifier + number_literal) )))) ;) (do_statement "do {\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        } while (iVar7 < (int)(uint)pIVar11->nKeyCol);" do (compound_statement "{\n          psVar6 = pIVar11->aiColumn + iVar7;\n          iVar7 = iVar7 + 1;\n          pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);\n          pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);\n        }" { (expression_statement "psVar6 = pIVar11->aiColumn + iVar7;" (assignment_expression "psVar6 = pIVar11->aiColumn + iVar7" identifier = (binary_expression "pIVar11->aiColumn + iVar7" (field_expression "pIVar11->aiColumn" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);" (assignment_expression "pEVar3 = (Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName)" identifier = (cast_expression "(Expr *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(psVar10,0x3b,pTVar12->aCol[*psVar6].zName)" ( identifier , number_literal , (field_expression "pTVar12->aCol[*psVar6].zName" (subscript_expression "pTVar12->aCol[*psVar6]" (field_expression "pTVar12->aCol" identifier -> field_identifier) [ (pointer_expression "*psVar6" * identifier) ]) . field_identifier) ))))) ;) (expression_statement "pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3);" (assignment_expression "pList = sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3)" identifier = (call_expression "sqlite3ExprListAppend((Parse *)pParse->db,pList,pEVar3)" identifier (argument_list "((Parse *)pParse->db,pList,pEVar3)" ( (cast_expression "(Parse *)pParse->db" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pParse->db" identifier -> field_identifier)) , identifier , identifier )))) ;) }) while (parenthesized_expression "(iVar7 < (int)(uint)pIVar11->nKeyCol)" ( (binary_expression "iVar7 < (int)(uint)pIVar11->nKeyCol" identifier < (cast_expression "(int)(uint)pIVar11->nKeyCol" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pIVar11->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pIVar11->nKeyCol" identifier -> field_identifier)))) )) ;) })) (expression_statement "pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0);" (assignment_expression "pEVar3 = sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0)" identifier = (call_expression "sqlite3PExpr(pParse,0xa5,(Expr *)0x0,(Expr *)0x0)" identifier (argument_list "(pParse,0xa5,(Expr *)0x0,(Expr *)0x0)" ( identifier , number_literal , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (pEVar3 != (Expr *)0x0) {\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }" if (parenthesized_expression "(pEVar3 != (Expr *)0x0)" ( (binary_expression "pEVar3 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);\n        (pEVar3->x).pList = pEVar4;\n      }" { (expression_statement "pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0);" (assignment_expression "pEVar4 = (ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0)" identifier = (cast_expression "(ExprList *)(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0)" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))(psVar10,pList,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b700 + -0x21f0)" * (cast_expression "(code *)(PTR_LAB_0015b700 + -0x21f0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + -0x21f0)" ( (binary_expression "PTR_LAB_0015b700 + -0x21f0" identifier + number_literal) )))) )) (argument_list "(psVar10,pList,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "(pEVar3->x).pList = pEVar4;" (assignment_expression "(pEVar3->x).pList = pEVar4" (field_expression "(pEVar3->x).pList" (parenthesized_expression "(pEVar3->x)" ( (field_expression "pEVar3->x" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) }))) }))) (expression_statement "puVar2 = PTR_LAB_0015b700;" (assignment_expression "puVar2 = PTR_LAB_0015b700" identifier = identifier) ;) (expression_statement "pSrc->a[0].pTab = (Table *)0x0;" (assignment_expression "pSrc->a[0].pTab = (Table *)0x0" (field_expression "pSrc->a[0].pTab" (subscript_expression "pSrc->a[0]" (field_expression "pSrc->a" identifier -> field_identifier) [ number_literal ]) . field_identifier) = (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pSrc_00 = (SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0);" (assignment_expression "pSrc_00 = (SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0)" identifier = (cast_expression "(SrcList *)(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0)" ( (type_descriptor "SrcList *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(puVar2 + -0x1a78))(pParse->db,pSrc,0)" (parenthesized_expression "(*(code *)(puVar2 + -0x1a78))" ( (pointer_expression "*(code *)(puVar2 + -0x1a78)" * (cast_expression "(code *)(puVar2 + -0x1a78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1a78)" ( (binary_expression "puVar2 + -0x1a78" identifier + number_literal) )))) )) (argument_list "(pParse->db,pSrc,0)" ( (field_expression "pParse->db" identifier -> field_identifier) , identifier , number_literal ))))) ;) (expression_statement "pSrc->a[0].pTab = pTVar12;" (assignment_expression "pSrc->a[0].pTab = pTVar12" (field_expression "pSrc->a[0].pTab" (subscript_expression "pSrc->a[0]" (field_expression "pSrc->a" identifier -> field_identifier) [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pSrc->a[0].pIBIndex = (Index *)0x0;" (assignment_expression "pSrc->a[0].pIBIndex = (Index *)0x0" (field_expression "pSrc->a[0].pIBIndex" (subscript_expression "pSrc->a[0]" (field_expression "pSrc->a" identifier -> field_identifier) [ number_literal ]) . field_identifier) = (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pSelect = sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit);" (assignment_expression "pSelect = sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit)" identifier = (call_expression "sqlite3SelectNew(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit)" identifier (argument_list "(pParse,pList,pSrc_00,pWhere,(ExprList *)0x0,(Expr *)0x0,pOrderBy,0,\n                             pLimit)" ( identifier , identifier , identifier , identifier , (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , number_literal , identifier )))) ;) (expression_statement "pEVar3 = sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0);" (assignment_expression "pEVar3 = sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0)" identifier = (call_expression "sqlite3PExpr(pParse,0x31,pEVar3,(Expr *)0x0)" identifier (argument_list "(pParse,0x31,pEVar3,(Expr *)0x0)" ( identifier , number_literal , identifier , (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "sqlite3PExprAddSelect(pParse,pEVar3,pSelect);" (call_expression "sqlite3PExprAddSelect(pParse,pEVar3,pSelect)" identifier (argument_list "(pParse,pEVar3,pSelect)" ( identifier , identifier , identifier ))) ;) (return_statement "return pEVar3;" return identifier ;) })))
(translation_unit "int FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}\n\n" (function_definition "int FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}" primitive_type (function_declarator "FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (if_statement "if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }" { (if_statement "if (param_5 == 0) {\n      return param_3;\n    }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) })) }) (else_clause "else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" else (if_statement "if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" { (expression_statement "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);" (call_expression "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6)" identifier (argument_list "(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6)" ( identifier , (binary_expression "PTR_LAB_0015b5e8 + 0x7ad8" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar5 = *param_1;" (assignment_expression "uVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }" { (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7bc4)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x7bc4" identifier + number_literal) )))) )) (argument_list "(uVar5,param_3)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = *param_1;" (assignment_expression "uVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7d30)" * (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7d30)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7d30)" ( (binary_expression "PTR_LAB_0015b6c0 + 0x7d30" identifier + number_literal) )))) )) (argument_list "(uVar5,param_4)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))) (expression_statement "iVar10 = *(int *)(param_2 + 0x18);" (assignment_expression "iVar10 = *(int *)(param_2 + 0x18)" identifier = (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" if (parenthesized_expression "((*(uint *)(iVar10 + 0x24) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar10 + 0x24) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar10 + 0x24) & 0x20)" ( (binary_expression "*(uint *)(iVar10 + 0x24) & 0x20" (pointer_expression "*(uint *)(iVar10 + 0x24)" * (cast_expression "(uint *)(iVar10 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x24)" ( (binary_expression "iVar10 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }" { (expression_statement "iVar9 = FUN_000726b4(param_1,0x4b,0,0);" (assignment_expression "iVar9 = FUN_000726b4(param_1,0x4b,0,0)" identifier = (call_expression "FUN_000726b4(param_1,0x4b,0,0)" identifier (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar5 = FUN_000726b4(param_1,0x4b,0,0);" (assignment_expression "uVar5 = FUN_000726b4(param_1,0x4b,0,0)" identifier = (call_expression "FUN_000726b4(param_1,0x4b,0,0)" identifier (argument_list "(param_1,0x4b,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar5 = FUN_0005fad4(*param_1,0,uVar5);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,0,uVar5)" identifier = (call_expression "FUN_0005fad4(*param_1,0,uVar5)" identifier (argument_list "(*param_1,0,uVar5)" ( (pointer_expression "*param_1" * identifier) , number_literal , identifier )))) ;) }) (else_clause "else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" else (compound_statement "{\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" { (expression_statement "iVar9 = *(int *)(iVar10 + 8);" (assignment_expression "iVar9 = *(int *)(iVar10 + 8)" identifier = (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }" { (labeled_statement "LAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);" statement_identifier : (expression_statement "pcVar7 = (code *)trap(0);" (assignment_expression "pcVar7 = (code *)trap(0)" identifier = (cast_expression "(code *)trap(0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "trap(0)" identifier (argument_list "(0)" ( number_literal ))))) ;)) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = *(byte *)(iVar9 + 0x37);" (assignment_expression "bVar1 = *(byte *)(iVar9 + 0x37)" identifier = (pointer_expression "*(byte *)(iVar9 + 0x37)" * (cast_expression "(byte *)(iVar9 + 0x37)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x37)" ( (binary_expression "iVar9 + 0x37" identifier + number_literal) ))))) ;) (while_statement "while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }" while (parenthesized_expression "((bVar1 & 0xc0) != 0x80)" ( (binary_expression "(bVar1 & 0xc0) != 0x80" (parenthesized_expression "(bVar1 & 0xc0)" ( (binary_expression "bVar1 & 0xc0" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }" { (expression_statement "iVar9 = *(int *)(iVar9 + 0x14);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x14)" identifier = (pointer_expression "*(int *)(iVar9 + 0x14)" * (cast_expression "(int *)(iVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) goto LAB_0007a814;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0007a814;" goto statement_identifier ;)) (expression_statement "bVar1 = *(byte *)(iVar9 + 0x37);" (assignment_expression "bVar1 = *(byte *)(iVar9 + 0x37)" identifier = (pointer_expression "*(byte *)(iVar9 + 0x37)" * (cast_expression "(byte *)(iVar9 + 0x37)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x37)" ( (binary_expression "iVar9 + 0x37" identifier + number_literal) ))))) ;) })) (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" if (parenthesized_expression "(*(short *)(iVar9 + 0x32) == 1)" ( (binary_expression "*(short *)(iVar9 + 0x32) == 1" (pointer_expression "*(short *)(iVar9 + 0x32)" * (cast_expression "(short *)(iVar9 + 0x32)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }" { (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" identifier + number_literal) )))) ;) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" * (cast_expression "(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" ( (binary_expression "*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + (binary_expression "**(short **)(iVar9 + 4) * 0x10" (pointer_expression "**(short **)(iVar9 + 4)" * (pointer_expression "*(short **)(iVar9 + 4)" * (cast_expression "(short **)(iVar9 + 4)" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) ))))) * number_literal)) ))))) ;) (expression_statement "iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);" (assignment_expression "iVar9 = (*pcVar7)(uVar8,0x3b,uVar5)" identifier = (call_expression "(*pcVar7)(uVar8,0x3b,uVar5)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar8,0x3b,uVar5)" ( identifier , number_literal , identifier )))) ;) (expression_statement "uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);" (assignment_expression "uVar5 = (*pcVar7)(uVar8,0x3b,uVar5)" identifier = (call_expression "(*pcVar7)(uVar8,0x3b,uVar5)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar8,0x3b,uVar5)" ( identifier , number_literal , identifier )))) ;) (expression_statement "uVar5 = FUN_0005fad4(*param_1,0,uVar5);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,0,uVar5)" identifier = (call_expression "FUN_0005fad4(*param_1,0,uVar5)" identifier (argument_list "(*param_1,0,uVar5)" ( (pointer_expression "*param_1" * identifier) , number_literal , identifier )))) ;) }) (else_clause "else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" else (compound_statement "{\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }" if (parenthesized_expression "(*(short *)(iVar9 + 0x32) != 0)" ( (binary_expression "*(short *)(iVar9 + 0x32) != 0" (pointer_expression "*(short *)(iVar9 + 0x32)" * (cast_expression "(short *)(iVar9 + 0x32)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" identifier + number_literal) )))) ;) (do_statement "do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));" do (compound_statement "{\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        }" { (expression_statement "iVar4 = iVar6 * 2;" (assignment_expression "iVar4 = iVar6 * 2" identifier = (binary_expression "iVar6 * 2" identifier * number_literal)) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );" (assignment_expression "uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" identifier = (call_expression "(*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" ( identifier , number_literal , (pointer_expression "*(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" * (cast_expression "(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" ( (binary_expression "*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + (binary_expression "*(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10" (pointer_expression "*(short *)(*(int *)(iVar9 + 4) + iVar4)" * (cast_expression "(short *)(*(int *)(iVar9 + 4) + iVar4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar9 + 4) + iVar4)" ( (binary_expression "*(int *)(iVar9 + 4) + iVar4" (pointer_expression "*(int *)(iVar9 + 4)" * (cast_expression "(int *)(iVar9 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 4)" ( (binary_expression "iVar9 + 4" identifier + number_literal) )))) + identifier) )))) * number_literal)) )))) )))) ;) (expression_statement "uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3)" identifier = (call_expression "FUN_0005fad4(*param_1,uVar5,uVar3)" identifier (argument_list "(*param_1,uVar5,uVar3)" ( (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) }) while (parenthesized_expression "(iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32))" ( (binary_expression "iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32)" identifier < (binary_expression "(int)(uint)*(ushort *)(iVar9 + 0x32)" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(ushort *)(iVar9 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar9 = FUN_000726b4(param_1,0xa5,0,0);" (assignment_expression "iVar9 = FUN_000726b4(param_1,0xa5,0,0)" identifier = (call_expression "FUN_000726b4(param_1,0xa5,0,0)" identifier (argument_list "(param_1,0xa5,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (if_statement "if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }" { (expression_statement "uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);" (assignment_expression "uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b700 + -0x21f0)" * (cast_expression "(code *)(PTR_LAB_0015b700 + -0x21f0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + -0x21f0)" ( (binary_expression "PTR_LAB_0015b700 + -0x21f0" identifier + number_literal) )))) )) (argument_list "(uVar8,uVar5,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar9 + 0x14) = uVar8;" (assignment_expression "*(undefined4 *)(iVar9 + 0x14) = uVar8" (pointer_expression "*(undefined4 *)(iVar9 + 0x14)" * (cast_expression "(undefined4 *)(iVar9 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) = identifier) ;) })) }))) }))) (expression_statement "puVar2 = PTR_LAB_0015b700;" (assignment_expression "puVar2 = PTR_LAB_0015b700" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);" (assignment_expression "uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0)" identifier = (call_expression "(*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0)" (parenthesized_expression "(*(code *)(puVar2 + -0x1a78))" ( (pointer_expression "*(code *)(puVar2 + -0x1a78)" * (cast_expression "(code *)(puVar2 + -0x1a78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x1a78)" ( (binary_expression "puVar2 + -0x1a78" identifier + number_literal) )))) )) (argument_list "(*param_1,param_2,0)" ( (pointer_expression "*param_1" * identifier) , identifier , number_literal )))) ;) (expression_statement "*(int *)(param_2 + 0x18) = iVar10;" (assignment_expression "*(int *)(param_2 + 0x18) = iVar10" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" * (cast_expression "(undefined4 *)(param_2 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x4c)" ( (binary_expression "param_2 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);" (assignment_expression "uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" identifier = (call_expression "FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" identifier (argument_list "(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , identifier , number_literal , identifier )))) ;) (expression_statement "iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);" (assignment_expression "iVar10 = FUN_000726b4(param_1,0x31,iVar9,0)" identifier = (call_expression "FUN_000726b4(param_1,0x31,iVar9,0)" identifier (argument_list "(param_1,0x31,iVar9,0)" ( identifier , number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_00072640(param_1,iVar10,uVar5);" (call_expression "FUN_00072640(param_1,iVar10,uVar5)" identifier (argument_list "(param_1,iVar10,uVar5)" ( identifier , identifier , identifier ))) ;) (return_statement "return iVar10;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (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 (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , (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 (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) * LIT)) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * IDENT) , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , LIT , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}" (primitive_type "int") (function_declarator "FUN_0007a458(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)" (identifier "FUN_0007a458") (parameter_list "(undefined4 *param_1,int param_2,int param_3,int param_4,int param_5,\n                undefined4 param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (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") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  code *pcVar7;\n  undefined4 uVar8;\n  int iVar9;\n  int iVar10;\n  \n  if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }\n  iVar10 = *(int *)(param_2 + 0x18);\n  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }\n  puVar2 = PTR_LAB_0015b700;\n  *(undefined4 *)(param_2 + 0x18) = 0;\n  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);\n  *(int *)(param_2 + 0x18) = iVar10;\n  *(undefined4 *)(param_2 + 0x4c) = 0;\n  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);\n  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);\n  FUN_00072640(param_1,iVar10,uVar5);\n  return iVar10;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (if_statement "if (param_4 == 0) {\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }\n  else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_5 == 0) {\n      return param_3;\n    }\n  }" ({ "{") (if_statement "if (param_5 == 0) {\n      return param_3;\n    }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return param_3;\n    }" ({ "{") (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" (else "else") (if_statement "if (param_5 == 0) {\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);\n    uVar5 = *param_1;\n    if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }\n    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);\n    return 0;\n  }" ({ "{") (expression_statement "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);" (call_expression "FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6)" (identifier "FUN_00071104") (argument_list "(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_LAB_0015b5e8 + 0x7ad8" (identifier "PTR_LAB_0015b5e8") (+ "+") (number_literal "0x7ad8")) (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "uVar5 = *param_1;" (assignment_expression "uVar5 = *param_1" (identifier "uVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_3 != 0) {\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);\n      uVar5 = *param_1;\n    }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7bc4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7bc4)" (( "(") (binary_expression "PTR_LAB_0015b6c0 + 0x7bc4" (identifier "PTR_LAB_0015b6c0") (+ "+") (number_literal "0x7bc4")) () ")")))) () ")")) (argument_list "(uVar5,param_3)" (( "(") (identifier "uVar5") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar5 = *param_1;" (assignment_expression "uVar5 = *param_1" (identifier "uVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);" (call_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6c0 + 0x7d30))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6c0 + 0x7d30)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6c0 + 0x7d30)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6c0 + 0x7d30)" (( "(") (binary_expression "PTR_LAB_0015b6c0 + 0x7d30" (identifier "PTR_LAB_0015b6c0") (+ "+") (number_literal "0x7d30")) () ")")))) () ")")) (argument_list "(uVar5,param_4)" (( "(") (identifier "uVar5") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))))) (expression_statement "iVar10 = *(int *)(param_2 + 0x18);" (assignment_expression "iVar10 = *(int *)(param_2 + 0x18)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_2 + 0x18)" (* "*") (cast_expression "(int *)(param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }\n  else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((*(uint *)(iVar10 + 0x24) & 0x20) == 0)" (( "(") (binary_expression "(*(uint *)(iVar10 + 0x24) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar10 + 0x24) & 0x20)" (( "(") (binary_expression "*(uint *)(iVar10 + 0x24) & 0x20" (pointer_expression "*(uint *)(iVar10 + 0x24)" (* "*") (cast_expression "(uint *)(iVar10 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x24)" (( "(") (binary_expression "iVar10 + 0x24" (identifier "iVar10") (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar9 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_000726b4(param_1,0x4b,0,0);\n    uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n  }" ({ "{") (expression_statement "iVar9 = FUN_000726b4(param_1,0x4b,0,0);" (assignment_expression "iVar9 = FUN_000726b4(param_1,0x4b,0,0)" (identifier "iVar9") (= "=") (call_expression "FUN_000726b4(param_1,0x4b,0,0)" (identifier "FUN_000726b4") (argument_list "(param_1,0x4b,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x4b") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_000726b4(param_1,0x4b,0,0);" (assignment_expression "uVar5 = FUN_000726b4(param_1,0x4b,0,0)" (identifier "uVar5") (= "=") (call_expression "FUN_000726b4(param_1,0x4b,0,0)" (identifier "FUN_000726b4") (argument_list "(param_1,0x4b,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x4b") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0005fad4(*param_1,0,uVar5);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,0,uVar5)" (identifier "uVar5") (= "=") (call_expression "FUN_0005fad4(*param_1,0,uVar5)" (identifier "FUN_0005fad4") (argument_list "(*param_1,0,uVar5)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") (, ",") (identifier "uVar5") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar9 = *(int *)(iVar10 + 8);\n    if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }\n    bVar1 = *(byte *)(iVar9 + 0x37);\n    while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }\n    uVar8 = *param_1;\n    if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar9 = *(int *)(iVar10 + 8);" (assignment_expression "iVar9 = *(int *)(iVar10 + 8)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar10 + 8)" (* "*") (cast_expression "(int *)(iVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 8)" (( "(") (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar9 == 0) {\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);\n      (*pcVar7)();\n    }" ({ "{") (labeled_statement "LAB_0007a814:\n                    \n      pcVar7 = (code *)trap(0);" (statement_identifier "LAB_0007a814") (: ":") (expression_statement "pcVar7 = (code *)trap(0);" (assignment_expression "pcVar7 = (code *)trap(0)" (identifier "pcVar7") (= "=") (cast_expression "(code *)trap(0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "trap(0)" (identifier "trap") (argument_list "(0)" (( "(") (number_literal "0") () ")"))))) (; ";"))) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "bVar1 = *(byte *)(iVar9 + 0x37);" (assignment_expression "bVar1 = *(byte *)(iVar9 + 0x37)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(iVar9 + 0x37)" (* "*") (cast_expression "(byte *)(iVar9 + 0x37)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x37)" (( "(") (binary_expression "iVar9 + 0x37" (identifier "iVar9") (+ "+") (number_literal "0x37")) () ")"))))) (; ";")) (while_statement "while ((bVar1 & 0xc0) != 0x80) {\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }" (while "while") (parenthesized_expression "((bVar1 & 0xc0) != 0x80)" (( "(") (binary_expression "(bVar1 & 0xc0) != 0x80" (parenthesized_expression "(bVar1 & 0xc0)" (( "(") (binary_expression "bVar1 & 0xc0" (identifier "bVar1") (& "&") (number_literal "0xc0")) () ")")) (!= "!=") (number_literal "0x80")) () ")")) (compound_statement "{\n      iVar9 = *(int *)(iVar9 + 0x14);\n      if (iVar9 == 0) goto LAB_0007a814;\n      bVar1 = *(byte *)(iVar9 + 0x37);\n    }" ({ "{") (expression_statement "iVar9 = *(int *)(iVar9 + 0x14);" (assignment_expression "iVar9 = *(int *)(iVar9 + 0x14)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar9 + 0x14)" (* "*") (cast_expression "(int *)(iVar9 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x14)" (( "(") (binary_expression "iVar9 + 0x14" (identifier "iVar9") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar9 == 0) goto LAB_0007a814;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0007a814;" (goto "goto") (statement_identifier "LAB_0007a814") (; ";"))) (expression_statement "bVar1 = *(byte *)(iVar9 + 0x37);" (assignment_expression "bVar1 = *(byte *)(iVar9 + 0x37)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(iVar9 + 0x37)" (* "*") (cast_expression "(byte *)(iVar9 + 0x37)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x37)" (( "(") (binary_expression "iVar9 + 0x37" (identifier "iVar9") (+ "+") (number_literal "0x37")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" (identifier "uVar8") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(short *)(iVar9 + 0x32) == 1) {\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }\n    else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" (if "if") (parenthesized_expression "(*(short *)(iVar9 + 0x32) == 1)" (( "(") (binary_expression "*(short *)(iVar9 + 0x32) == 1" (pointer_expression "*(short *)(iVar9 + 0x32)" (* "*") (cast_expression "(short *)(iVar9 + 0x32)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x32)" (( "(") (binary_expression "iVar9 + 0x32" (identifier "iVar9") (+ "+") (number_literal "0x32")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);\n      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);\n      uVar5 = FUN_0005fad4(*param_1,0,uVar5);\n    }" ({ "{") (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" (identifier "pcVar7") (= "=") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x19d0")) () ")")))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10)" (( "(") (binary_expression "*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10" (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "**(short **)(iVar9 + 4) * 0x10" (pointer_expression "**(short **)(iVar9 + 4)" (* "*") (pointer_expression "*(short **)(iVar9 + 4)" (* "*") (cast_expression "(short **)(iVar9 + 4)" (( "(") (type_descriptor "short **" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar9 + 4)" (( "(") (binary_expression "iVar9 + 4" (identifier "iVar9") (+ "+") (number_literal "4")) () ")"))))) (* "*") (number_literal "0x10"))) () ")"))))) (; ";")) (expression_statement "iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);" (assignment_expression "iVar9 = (*pcVar7)(uVar8,0x3b,uVar5)" (identifier "iVar9") (= "=") (call_expression "(*pcVar7)(uVar8,0x3b,uVar5)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(uVar8,0x3b,uVar5)" (( "(") (identifier "uVar8") (, ",") (number_literal "0x3b") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);" (assignment_expression "uVar5 = (*pcVar7)(uVar8,0x3b,uVar5)" (identifier "uVar5") (= "=") (call_expression "(*pcVar7)(uVar8,0x3b,uVar5)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(uVar8,0x3b,uVar5)" (( "(") (identifier "uVar8") (, ",") (number_literal "0x3b") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0005fad4(*param_1,0,uVar5);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,0,uVar5)" (identifier "uVar5") (= "=") (call_expression "FUN_0005fad4(*param_1,0,uVar5)" (identifier "FUN_0005fad4") (argument_list "(*param_1,0,uVar5)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") (, ",") (identifier "uVar5") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" (else "else") (compound_statement "{\n      uVar5 = 0;\n      if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }\n      iVar9 = FUN_000726b4(param_1,0xa5,0,0);\n      if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }\n    }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(short *)(iVar9 + 0x32) != 0) {\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }" (if "if") (parenthesized_expression "(*(short *)(iVar9 + 0x32) != 0)" (( "(") (binary_expression "*(short *)(iVar9 + 0x32) != 0" (pointer_expression "*(short *)(iVar9 + 0x32)" (* "*") (cast_expression "(short *)(iVar9 + 0x32)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x32)" (( "(") (binary_expression "iVar9 + 0x32" (identifier "iVar9") (+ "+") (number_literal "0x32")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = 0;\n        uVar5 = 0;\n        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);\n        do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));\n      }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0)" (identifier "pcVar7") (= "=") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x19d0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x19d0)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x19d0" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x19d0")) () ")")))) (; ";")) (do_statement "do {\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));" (do "do") (compound_statement "{\n          iVar4 = iVar6 * 2;\n          iVar6 = iVar6 + 1;\n          uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );\n          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);\n        }" ({ "{") (expression_statement "iVar4 = iVar6 * 2;" (assignment_expression "iVar4 = iVar6 * 2" (identifier "iVar4") (= "=") (binary_expression "iVar6 * 2" (identifier "iVar6") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           );" (assignment_expression "uVar3 = (*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" (identifier "uVar3") (= "=") (call_expression "(*pcVar7)(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(uVar8,0x3b,\n                            *(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)\n                           )" (( "(") (identifier "uVar8") (, ",") (number_literal "0x3b") (, ",") (pointer_expression "*(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" (* "*") (cast_expression "(undefined4 *)\n                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)" (( "(") (binary_expression "*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10" (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "*(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10" (pointer_expression "*(short *)(*(int *)(iVar9 + 4) + iVar4)" (* "*") (cast_expression "(short *)(*(int *)(iVar9 + 4) + iVar4)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar9 + 4) + iVar4)" (( "(") (binary_expression "*(int *)(iVar9 + 4) + iVar4" (pointer_expression "*(int *)(iVar9 + 4)" (* "*") (cast_expression "(int *)(iVar9 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 4)" (( "(") (binary_expression "iVar9 + 4" (identifier "iVar9") (+ "+") (number_literal "4")) () ")")))) (+ "+") (identifier "iVar4")) () ")")))) (* "*") (number_literal "0x10"))) () ")")))) () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);" (assignment_expression "uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3)" (identifier "uVar5") (= "=") (call_expression "FUN_0005fad4(*param_1,uVar5,uVar3)" (identifier "FUN_0005fad4") (argument_list "(*param_1,uVar5,uVar3)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar5") (, ",") (identifier "uVar3") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32))" (( "(") (binary_expression "iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32)" (identifier "iVar6") (< "<") (binary_expression "(int)(uint)*(ushort *)(iVar9 + 0x32)" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(ushort *)(iVar9 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x32)" (( "(") (binary_expression "iVar9 + 0x32" (identifier "iVar9") (+ "+") (number_literal "0x32")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar9 = FUN_000726b4(param_1,0xa5,0,0);" (assignment_expression "iVar9 = FUN_000726b4(param_1,0xa5,0,0)" (identifier "iVar9") (= "=") (call_expression "FUN_000726b4(param_1,0xa5,0,0)" (identifier "FUN_000726b4") (argument_list "(param_1,0xa5,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0xa5") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) {\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);\n        *(undefined4 *)(iVar9 + 0x14) = uVar8;\n      }" ({ "{") (expression_statement "uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);" (assignment_expression "uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0)" (identifier "uVar8") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b700 + -0x21f0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b700 + -0x21f0)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b700 + -0x21f0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b700 + -0x21f0)" (( "(") (binary_expression "PTR_LAB_0015b700 + -0x21f0" (identifier "PTR_LAB_0015b700") (+ "+") (number_literal "-0x21f0")) () ")")))) () ")")) (argument_list "(uVar8,uVar5,0)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar5") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar9 + 0x14) = uVar8;" (assignment_expression "*(undefined4 *)(iVar9 + 0x14) = uVar8" (pointer_expression "*(undefined4 *)(iVar9 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x14)" (( "(") (binary_expression "iVar9 + 0x14" (identifier "iVar9") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "puVar2 = PTR_LAB_0015b700;" (assignment_expression "puVar2 = PTR_LAB_0015b700" (identifier "puVar2") (= "=") (identifier "PTR_LAB_0015b700")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);" (assignment_expression "uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0)" (identifier "uVar8") (= "=") (call_expression "(*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0)" (parenthesized_expression "(*(code *)(puVar2 + -0x1a78))" (( "(") (pointer_expression "*(code *)(puVar2 + -0x1a78)" (* "*") (cast_expression "(code *)(puVar2 + -0x1a78)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x1a78)" (( "(") (binary_expression "puVar2 + -0x1a78" (identifier "puVar2") (+ "+") (number_literal "-0x1a78")) () ")")))) () ")")) (argument_list "(*param_1,param_2,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(int *)(param_2 + 0x18) = iVar10;" (assignment_expression "*(int *)(param_2 + 0x18) = iVar10" (pointer_expression "*(int *)(param_2 + 0x18)" (* "*") (cast_expression "(int *)(param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(param_2 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x4c)" (( "(") (binary_expression "param_2 + 0x4c" (identifier "param_2") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);" (assignment_expression "uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" (identifier "uVar5") (= "=") (call_expression "FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" (identifier "FUN_000600ec") (argument_list "(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") (, ",") (identifier "uVar8") (, ",") (identifier "param_3") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_4") (, ",") (number_literal "0") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);" (assignment_expression "iVar10 = FUN_000726b4(param_1,0x31,iVar9,0)" (identifier "iVar10") (= "=") (call_expression "FUN_000726b4(param_1,0x31,iVar9,0)" (identifier "FUN_000726b4") (argument_list "(param_1,0x31,iVar9,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x31") (, ",") (identifier "iVar9") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_00072640(param_1,iVar10,uVar5);" (call_expression "FUN_00072640(param_1,iVar10,uVar5)" (identifier "FUN_00072640") (argument_list "(param_1,iVar10,uVar5)" (( "(") (identifier "param_1") (, ",") (identifier "iVar10") (, ",") (identifier "uVar5") () ")"))) (; ";")) (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}")))

type_1 * function_1(type_2 *pParse,type_3 *pSrc,type_1 *var_5,type_4 *var_1,type_1 *var_2,
                        char *zStmtType)

{
  type_5 var_11;
  type_6 *var_16;
  type_1 *var_14;
  type_4 *pEVar4;
  type_3 *pSrc_00;
  type_7 *pSelect;
  type_1 *pEVar5;
  type_8 **db;
  short *psVar6;
  type_4 *pList;
  int var_13;
  type_9 *pcVar8;
  char *pcVar9;
  type_8 *psVar10;
  type_10 *var_9;
  type_11 *pTVar12;
  
  if (var_1 == (type_4 *)0x0) {
    if (var_2 == (type_1 *)0x0) {
      return var_5;
    }
  }
  else if (var_2 == (type_1 *)0x0) {
    var_3(pParse,var_4 + 0x7ad8,zStmtType);
    psVar10 = pParse->db;
    if (var_5 != (type_1 *)0x0) {
      (*(type_9 *)(var_6 + 0x7bc4))(psVar10,var_5);
      psVar10 = pParse->db;
    }
    (*(type_9 *)(var_6 + 0x7d30))(psVar10,var_1);
    return (type_1 *)0x0;
  }
  pTVar12 = pSrc->a[0].pTab;
  if ((pTVar12->tabFlags & 0x20) == 0) {
    var_14 = var_7(pParse,0x4b,(type_1 *)0x0,(type_1 *)0x0);
    pEVar5 = var_7(pParse,0x4b,(type_1 *)0x0,(type_1 *)0x0);
    pList = var_8((type_2 *)pParse->db,(type_4 *)0x0,pEVar5);
  }
  else {
    var_9 = pTVar12->pIndex;
    if (var_9 == (type_10 *)0x0) {
LAB_0007a814:
                    /* WARNING: Does not return */
      pcVar8 = (type_9 *)var_10(0);
      (*pcVar8)();
    }
    var_11 = var_9->field_0x37;
    while ((var_11 & 0xc0) != 0x80) {
      var_9 = var_9->pNext;
      if (var_9 == (type_10 *)0x0) goto LAB_0007a814;
      var_11 = var_9->field_0x37;
    }
    psVar10 = pParse->db;
    if (var_9->nKeyCol == 1) {
      pcVar8 = (type_9 *)(var_12 + -0x19d0);
      pcVar9 = pTVar12->aCol[*var_9->aiColumn].zName;
      var_14 = (type_1 *)(*pcVar8)(psVar10,0x3b,pcVar9);
      pEVar5 = (type_1 *)(*pcVar8)(psVar10,0x3b,pcVar9);
      pList = var_8((type_2 *)pParse->db,(type_4 *)0x0,pEVar5);
    }
    else {
      pList = (type_4 *)0x0;
      if (var_9->nKeyCol != 0) {
        var_13 = 0;
        pList = (type_4 *)0x0;
        pcVar8 = (type_9 *)(var_12 + -0x19d0);
        do {
          psVar6 = var_9->aiColumn + var_13;
          var_13 = var_13 + 1;
          var_14 = (type_1 *)(*pcVar8)(psVar10,0x3b,pTVar12->aCol[*psVar6].zName);
          pList = var_8((type_2 *)pParse->db,pList,var_14);
        } while (var_13 < (int)(type_12)var_9->nKeyCol);
      }
      var_14 = var_7(pParse,0xa5,(type_1 *)0x0,(type_1 *)0x0);
      if (var_14 != (type_1 *)0x0) {
        pEVar4 = (type_4 *)(*(type_9 *)(var_15 + -0x21f0))(psVar10,pList,0);
        (var_14->x).pList = pEVar4;
      }
    }
  }
  var_16 = var_15;
  pSrc->a[0].pTab = (type_11 *)0x0;
  pSrc_00 = (type_3 *)(*(type_9 *)(var_16 + -0x1a78))(pParse->db,pSrc,0);
  pSrc->a[0].pTab = pTVar12;
  pSrc->a[0].pIBIndex = (type_10 *)0x0;
  pSelect = var_17(pParse,pList,pSrc_00,var_5,(type_4 *)0x0,(type_1 *)0x0,var_1,0,
                             var_2);
  var_14 = var_7(pParse,0x31,var_14,(type_1 *)0x0);
  var_18(pParse,var_14,pSelect);
  return var_14;
}


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

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

{
  byte bVar1;
  undefined *puVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  code *pcVar7;
  undefined4 uVar8;
  int iVar9;
  int iVar10;
  
  if (param_4 == 0) {
    if (param_5 == 0) {
      return param_3;
    }
  }
  else if (param_5 == 0) {
    FUN_00071104(param_1,PTR_LAB_0015b5e8 + 0x7ad8,param_6);
    uVar5 = *param_1;
    if (param_3 != 0) {
      (*(code *)(PTR_LAB_0015b6c0 + 0x7bc4))(uVar5,param_3);
      uVar5 = *param_1;
    }
    (*(code *)(PTR_LAB_0015b6c0 + 0x7d30))(uVar5,param_4);
    return 0;
  }
  iVar10 = *(int *)(param_2 + 0x18);
  if ((*(uint *)(iVar10 + 0x24) & 0x20) == 0) {
    iVar9 = FUN_000726b4(param_1,0x4b,0,0);
    uVar5 = FUN_000726b4(param_1,0x4b,0,0);
    uVar5 = FUN_0005fad4(*param_1,0,uVar5);
  }
  else {
    iVar9 = *(int *)(iVar10 + 8);
    if (iVar9 == 0) {
LAB_0007a814:
                    /* WARNING: Does not return */
      pcVar7 = (code *)trap(0);
      (*pcVar7)();
    }
    bVar1 = *(byte *)(iVar9 + 0x37);
    while ((bVar1 & 0xc0) != 0x80) {
      iVar9 = *(int *)(iVar9 + 0x14);
      if (iVar9 == 0) goto LAB_0007a814;
      bVar1 = *(byte *)(iVar9 + 0x37);
    }
    uVar8 = *param_1;
    if (*(short *)(iVar9 + 0x32) == 1) {
      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);
      uVar5 = *(undefined4 *)(*(int *)(iVar10 + 4) + **(short **)(iVar9 + 4) * 0x10);
      iVar9 = (*pcVar7)(uVar8,0x3b,uVar5);
      uVar5 = (*pcVar7)(uVar8,0x3b,uVar5);
      uVar5 = FUN_0005fad4(*param_1,0,uVar5);
    }
    else {
      uVar5 = 0;
      if (*(short *)(iVar9 + 0x32) != 0) {
        iVar6 = 0;
        uVar5 = 0;
        pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x19d0);
        do {
          iVar4 = iVar6 * 2;
          iVar6 = iVar6 + 1;
          uVar3 = (*pcVar7)(uVar8,0x3b,
                            *(undefined4 *)
                             (*(int *)(iVar10 + 4) + *(short *)(*(int *)(iVar9 + 4) + iVar4) * 0x10)
                           );
          uVar5 = FUN_0005fad4(*param_1,uVar5,uVar3);
        } while (iVar6 < (int)(uint)*(ushort *)(iVar9 + 0x32));
      }
      iVar9 = FUN_000726b4(param_1,0xa5,0,0);
      if (iVar9 != 0) {
        uVar8 = (*(code *)(PTR_LAB_0015b700 + -0x21f0))(uVar8,uVar5,0);
        *(undefined4 *)(iVar9 + 0x14) = uVar8;
      }
    }
  }
  puVar2 = PTR_LAB_0015b700;
  *(undefined4 *)(param_2 + 0x18) = 0;
  uVar8 = (*(code *)(puVar2 + -0x1a78))(*param_1,param_2,0);
  *(int *)(param_2 + 0x18) = iVar10;
  *(undefined4 *)(param_2 + 0x4c) = 0;
  uVar5 = FUN_000600ec(param_1,uVar5,uVar8,param_3,0,0,param_4,0,param_5);
  iVar10 = FUN_000726b4(param_1,0x31,iVar9,0);
  FUN_00072640(param_1,iVar10,uVar5);
  return iVar10;
}

