
ExprList * sqlite3ExprListDup(sqlite3 *db,ExprList *p,int flags)

{
  byte bVar1;
  byte bVar2;
  code *pcVar3;
  Expr *pEVar4;
  char *pcVar5;
  int iVar6;
  code *pcVar7;
  ExprList_item *pEVar8;
  Expr *pEVar9;
  ExprList_item *pEVar10;
  ExprList *pEStack_30;
  Expr *pEStack_2c;
  
  if (((p == (ExprList *)0x0) ||
      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||
     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),
     pEStack_30 == (ExprList *)0x0)) {
    pEStack_30 = (ExprList *)0x0;
  }
  else {
    pEStack_30->nExpr = p->nExpr;
    if (0 < p->nExpr) {
      iVar6 = 0;
      pEStack_2c = (Expr *)0x0;
      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);
      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);
      pEVar8 = p->a;
      pEVar10 = pEStack_30->a;
      do {
        pEVar9 = pEVar8->pExpr;
        if (pEVar9 == (Expr *)0x0) {
          pEVar10->pExpr = (Expr *)0x0;
        }
        else {
          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);
          pEVar10->pExpr = pEVar4;
          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {
            if (pEVar4->iColumn == 0) {
              pEStack_2c = pEVar4->pRight;
              pEVar4->pLeft = pEStack_2c;
            }
            else {
              pEVar4->pLeft = pEStack_2c;
            }
          }
        }
        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);
        pEVar10->zName = pcVar5;
        iVar6 = iVar6 + 1;
        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);
        bVar1 = pEVar10->field_0xd;
        pEVar10->zSpan = pcVar5;
        pEVar10->sortOrder = pEVar8->sortOrder;
        pEVar10->field_0xd = bVar1 & 0x7f;
        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);
        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;
        pEVar10->field_0xd =
             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)
        ;
        pEVar10->u = pEVar8->u;
        pEVar8 = pEVar8 + 1;
        pEVar10 = pEVar10 + 1;
      } while (iVar6 < p->nExpr);
    }
  }
  return pEStack_30;
}



int * FUN_0004de10(int param_1,int *param_2,undefined4 param_3)

{
  byte bVar1;
  byte bVar2;
  code *pcVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  int *piVar7;
  char *pcVar8;
  int *piVar9;
  int *local_30;
  undefined4 local_2c;
  
  if (((param_2 == (int *)0x0) ||
      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||
     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {
    local_30 = (int *)0x0;
  }
  else {
    *local_30 = *param_2;
    if (0 < *param_2) {
      iVar5 = 0;
      local_2c = 0;
      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);
      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);
      piVar7 = param_2 + 1;
      piVar9 = local_30 + 1;
      do {
        pcVar8 = (char *)*piVar7;
        if (pcVar8 == (char *)0x0) {
          *piVar9 = 0;
        }
        else {
          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);
          *piVar9 = iVar4;
          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {
            if (*(int *)(iVar4 + 0x20) == 0) {
              local_2c = *(undefined4 *)(iVar4 + 0x10);
              *(undefined4 *)(iVar4 + 0xc) = local_2c;
            }
            else {
              *(undefined4 *)(iVar4 + 0xc) = local_2c;
            }
          }
        }
        iVar4 = (*pcVar6)(param_1,piVar7[1]);
        piVar9[1] = iVar4;
        iVar5 = iVar5 + 1;
        iVar4 = (*pcVar6)(param_1,piVar7[2]);
        bVar1 = *(byte *)((int)piVar9 + 0xd);
        piVar9[2] = iVar4;
        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);
        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;
        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);
        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;
        *(byte *)((int)piVar9 + 0xd) =
             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);
        piVar9[4] = piVar7[4];
        piVar7 = piVar7 + 5;
        piVar9 = piVar9 + 5;
      } while (iVar5 < *param_2);
    }
  }
  return local_30;
}


lui gp,0x11
addiu gp,gp,0x57a0
addu gp,gp,t9
addiu sp,sp,-0x50
sw gp,0x10(sp)
sw ra,0x4c(sp)
sw s8,0x48(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s5,0x3c(sp)
sw s4,0x38(sp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
beq a1,zero,0x0004df9c
_sw s0,0x28(sp)
lw v0,-0x7fd8(gp)
or s0,a0,zero
or a0,a1,zero
or s4,a2,zero
lw t9,-0x5da0(v0)
jalr t9
_or s2,a1,zero
lbu v1,0x51(s0)
bne v1,zero,0x0004df9c
_lw gp,0x10(sp)
lw t9,-0x7ed8(gp)
sra a2,v0,0x1f
or a3,v0,zero
addiu t9,t9,-0x2b10
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
or v1,v0,zero
beq v0,zero,0x0004df9c
_sw v0,0x20(sp)
lw v0,0x0(s2)
addiu s8,v1,0x4
sw v0,0x0(v1)
lw v0,0x0(s2)
blez v0,0x0004dfa0
_addiu s5,s2,0x4
lw v0,-0x7eb0(gp)
or s1,zero,zero
lw s3,-0x7ed8(gp)
li s6,0xa6
sw zero,0x24(sp)
addiu v0,v0,-0x271c
addiu s3,s3,-0x23a0
b 0x0004df7c
_sw v0,0x1c(sp)
lw t9,0x1c(sp)
jalr t9
_nop
sw v0,0x0(s8)
lbu a0,0x0(s7)
beq a0,s6,0x0004dfd4
_nop
lw a1,0x4(s5)
addiu s8,s8,0x14
addiu s5,s5,0x14
or t9,s3,zero
jalr t9
_or a0,s0,zero
or a0,s0,zero
sw v0,-0x10(s8)
or t9,s3,zero
lw a1,-0xc(s5)
jalr t9
_addiu s1,s1,0x1
lbu a0,-0x7(s8)
sw v0,-0xc(s8)
lbu v0,-0x8(s5)
ins a0,zero,0x7,0x1
sb v0,-0x8(s8)
or v0,a0,zero
sb a0,-0x7(s8)
lw a0,-0x8(s5)
ext a0,a0,0x16,0x1
ins v0,a0,0x6,0x1
sb v0,-0x7(s8)
lw a0,-0x8(s5)
ext a0,a0,0x14,0x1
ins v0,a0,0x4,0x1
sb v0,-0x7(s8)
lw v0,-0x4(s5)
sw v0,-0x4(s8)
lw v0,0x0(s2)
slt v0,s1,v0
beq v0,zero,0x0004dfa4
_lw ra,0x4c(sp)
lw s7,0x0(s5)
or a3,zero,zero
or a0,s0,zero
or a2,s4,zero
bne s7,zero,0x0004dedc
_or a1,s7,zero
b 0x0004def8
_sw zero,0x0(s8)
sw zero,0x20(sp)
lw ra,0x4c(sp)
lw v0,0x20(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
beq v0,zero,0x0004def8
_nop
lw a0,0x20(v0)
bne a0,zero,0x0004dff8
_lw v1,0x24(sp)
lw v1,0x10(v0)
sw v1,0x24(sp)
b 0x0004def8
_sw v1,0xc(v0)
b 0x0004def8
_sw v1,0xc(v0)
(translation_unit "int * FUN_0004de10(int param_1,int *param_2,undefined4 param_3)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}\n\n" (function_definition "int * FUN_0004de10(int param_1,int *param_2,undefined4 param_3)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}" primitive_type (pointer_declarator "* FUN_0004de10(int param_1,int *param_2,undefined4 param_3)" * (function_declarator "FUN_0004de10(int param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (if_statement "if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" if (parenthesized_expression "(((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0))" ( (binary_expression "((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)" (parenthesized_expression "((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0'))" ( (binary_expression "(param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')" (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')" ( (comma_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0'" (call_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2)" (parenthesized_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))" ( (pointer_expression "**(code **)(PTR_DAT_0015b5d8 + -0x5da0)" * (pointer_expression "*(code **)(PTR_DAT_0015b5d8 + -0x5da0)" * (cast_expression "(code **)(PTR_DAT_0015b5d8 + -0x5da0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0015b5d8 + -0x5da0)" ( (binary_expression "PTR_DAT_0015b5d8 + -0x5da0" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier ))) , (binary_expression "*(char *)(param_1 + 0x51) != '\0'" (pointer_expression "*(char *)(param_1 + 0x51)" * (cast_expression "(char *)(param_1 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x51)" ( (binary_expression "param_1 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence '))) ))) )) || (parenthesized_expression "(local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)" ( (comma_expression "local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0" (assignment_expression "local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" identifier = (cast_expression "(int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2b10)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2b10)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2b10)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x2b10" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))))) , (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    local_30 = (int *)0x0;\n  }" { (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" else (compound_statement "{\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" { (expression_statement "*local_30 = *param_2;" (assignment_expression "*local_30 = *param_2" (pointer_expression "*local_30" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }" if (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c)" identifier = (cast_expression "(code *)(PTR_LAB_0015b700 + -0x271c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + -0x271c)" ( (binary_expression "PTR_LAB_0015b700 + -0x271c" identifier + number_literal) )))) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) ;) (expression_statement "piVar7 = param_2 + 1;" (assignment_expression "piVar7 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "piVar9 = local_30 + 1;" (assignment_expression "piVar9 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (do_statement "do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);" do (compound_statement "{\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      }" { (expression_statement "pcVar8 = (char *)*piVar7;" (assignment_expression "pcVar8 = (char *)*piVar7" identifier = (cast_expression "(char *)*piVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *piVar9 = 0;\n        }" { (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" * identifier) = number_literal) ;) }) (else_clause "else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" else (compound_statement "{\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" { (expression_statement "iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);" (assignment_expression "iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0)" identifier = (call_expression "(*pcVar3)(param_1,pcVar8,param_3,0)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_1,pcVar8,param_3,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "*piVar9 = iVar4;" (assignment_expression "*piVar9 = iVar4" (pointer_expression "*piVar9" * identifier) = identifier) ;) (if_statement "if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }" if (parenthesized_expression "((*pcVar8 == -0x5a) && (iVar4 != 0))" ( (binary_expression "(*pcVar8 == -0x5a) && (iVar4 != 0)" (parenthesized_expression "(*pcVar8 == -0x5a)" ( (binary_expression "*pcVar8 == -0x5a" (pointer_expression "*pcVar8" * identifier) == number_literal) )) && (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }" { (if_statement "if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" if (parenthesized_expression "(*(int *)(iVar4 + 0x20) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x20) == 0" (pointer_expression "*(int *)(iVar4 + 0x20)" * (cast_expression "(int *)(iVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" { (expression_statement "local_2c = *(undefined4 *)(iVar4 + 0x10);" (assignment_expression "local_2c = *(undefined4 *)(iVar4 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0xc) = local_2c;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = local_2c" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" else (compound_statement "{\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" { (expression_statement "*(undefined4 *)(iVar4 + 0xc) = local_2c;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = local_2c" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) }))) })) }))) (expression_statement "iVar4 = (*pcVar6)(param_1,piVar7[1]);" (assignment_expression "iVar4 = (*pcVar6)(param_1,piVar7[1])" identifier = (call_expression "(*pcVar6)(param_1,piVar7[1])" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1,piVar7[1])" ( identifier , (subscript_expression "piVar7[1]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar9[1] = iVar4;" (assignment_expression "piVar9[1] = iVar4" (subscript_expression "piVar9[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (*pcVar6)(param_1,piVar7[2]);" (assignment_expression "iVar4 = (*pcVar6)(param_1,piVar7[2])" identifier = (call_expression "(*pcVar6)(param_1,piVar7[2])" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1,piVar7[2])" ( identifier , (subscript_expression "piVar7[2]" identifier [ number_literal ]) )))) ;) (expression_statement "bVar1 = *(byte *)((int)piVar9 + 0xd);" (assignment_expression "bVar1 = *(byte *)((int)piVar9 + 0xd)" identifier = (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "piVar9[2] = iVar4;" (assignment_expression "piVar9[2] = iVar4" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);" (assignment_expression "*(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3)" (pointer_expression "*(undefined1 *)(piVar9 + 3)" * (cast_expression "(undefined1 *)(piVar9 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9 + 3)" ( (binary_expression "piVar9 + 3" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(piVar7 + 3)" * (cast_expression "(undefined1 *)(piVar7 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 3)" ( (binary_expression "piVar7 + 3" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;" (assignment_expression "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "bVar1 & 0x7f" identifier & number_literal)) ;) (expression_statement "bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);" (assignment_expression "bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" identifier = (call_expression "(byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" ( (binary_expression "((uint)(piVar7[3] << 9) >> 0x1f) << 6" (parenthesized_expression "((uint)(piVar7[3] << 9) >> 0x1f)" ( (binary_expression "(uint)(piVar7[3] << 9) >> 0x1f" (call_expression "(uint)(piVar7[3] << 9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar7[3] << 9)" ( (binary_expression "piVar7[3] << 9" (subscript_expression "piVar7[3]" identifier [ number_literal ]) << number_literal) ))) >> number_literal) )) << number_literal) )))) ;) (expression_statement "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;" (assignment_expression "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "bVar1 & 0x3f | bVar2" (binary_expression "bVar1 & 0x3f" identifier & number_literal) | identifier)) ;) (expression_statement "*(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);" (assignment_expression "*(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (binary_expression "bVar1 & 0x2f | bVar2" (binary_expression "bVar1 & 0x2f" identifier & number_literal) | identifier) | (call_expression "(byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" ( (binary_expression "((uint)(piVar7[3] << 0xb) >> 0x1f) << 4" (parenthesized_expression "((uint)(piVar7[3] << 0xb) >> 0x1f)" ( (binary_expression "(uint)(piVar7[3] << 0xb) >> 0x1f" (call_expression "(uint)(piVar7[3] << 0xb)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar7[3] << 0xb)" ( (binary_expression "piVar7[3] << 0xb" (subscript_expression "piVar7[3]" identifier [ number_literal ]) << number_literal) ))) >> number_literal) )) << number_literal) ))))) ;) (expression_statement "piVar9[4] = piVar7[4];" (assignment_expression "piVar9[4] = piVar7[4]" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (subscript_expression "piVar7[4]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = piVar7 + 5;" (assignment_expression "piVar7 = piVar7 + 5" identifier = (binary_expression "piVar7 + 5" identifier + number_literal)) ;) (expression_statement "piVar9 = piVar9 + 5;" (assignment_expression "piVar9 = piVar9 + 5" identifier = (binary_expression "piVar9 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 < *param_2)" ( (binary_expression "iVar5 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) })) }))) (return_statement "return local_30;" return identifier ;) })))
(translation_unit "ExprList * sqlite3ExprListDup(sqlite3 *db,ExprList *p,int flags)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  Expr *pEVar4;\n  char *pcVar5;\n  int iVar6;\n  code *pcVar7;\n  ExprList_item *pEVar8;\n  Expr *pEVar9;\n  ExprList_item *pEVar10;\n  ExprList *pEStack_30;\n  Expr *pEStack_2c;\n  \n  if (((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||\n     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0)) {\n    pEStack_30 = (ExprList *)0x0;\n  }\n  else {\n    pEStack_30->nExpr = p->nExpr;\n    if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }\n  }\n  return pEStack_30;\n}\n\n" (function_definition "ExprList * sqlite3ExprListDup(sqlite3 *db,ExprList *p,int flags)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  Expr *pEVar4;\n  char *pcVar5;\n  int iVar6;\n  code *pcVar7;\n  ExprList_item *pEVar8;\n  Expr *pEVar9;\n  ExprList_item *pEVar10;\n  ExprList *pEStack_30;\n  Expr *pEStack_2c;\n  \n  if (((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||\n     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0)) {\n    pEStack_30 = (ExprList *)0x0;\n  }\n  else {\n    pEStack_30->nExpr = p->nExpr;\n    if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }\n  }\n  return pEStack_30;\n}" type_identifier (pointer_declarator "* sqlite3ExprListDup(sqlite3 *db,ExprList *p,int flags)" * (function_declarator "sqlite3ExprListDup(sqlite3 *db,ExprList *p,int flags)" identifier (parameter_list "(sqlite3 *db,ExprList *p,int flags)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "ExprList *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) )))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  Expr *pEVar4;\n  char *pcVar5;\n  int iVar6;\n  code *pcVar7;\n  ExprList_item *pEVar8;\n  Expr *pEVar9;\n  ExprList_item *pEVar10;\n  ExprList *pEStack_30;\n  Expr *pEStack_2c;\n  \n  if (((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||\n     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0)) {\n    pEStack_30 = (ExprList *)0x0;\n  }\n  else {\n    pEStack_30->nExpr = p->nExpr;\n    if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }\n  }\n  return pEStack_30;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "Expr *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "ExprList_item *pEVar8;" type_identifier (pointer_declarator "*pEVar8" * identifier) ;) (declaration "Expr *pEVar9;" type_identifier (pointer_declarator "*pEVar9" * identifier) ;) (declaration "ExprList_item *pEVar10;" type_identifier (pointer_declarator "*pEVar10" * identifier) ;) (declaration "ExprList *pEStack_30;" type_identifier (pointer_declarator "*pEStack_30" * identifier) ;) (declaration "Expr *pEStack_2c;" type_identifier (pointer_declarator "*pEStack_2c" * identifier) ;) (if_statement "if (((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||\n     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0)) {\n    pEStack_30 = (ExprList *)0x0;\n  }\n  else {\n    pEStack_30->nExpr = p->nExpr;\n    if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }\n  }" if (parenthesized_expression "(((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||\n     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0))" ( (binary_expression "((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')) ||\n     (pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0)" (parenthesized_expression "((p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0'))" ( (binary_expression "(p == (ExprList *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')" (parenthesized_expression "(p == (ExprList *)0x0)" ( (binary_expression "p == (ExprList *)0x0" identifier == (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0')" ( (comma_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p), db->mallocFailed != '\0'" (call_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(p)" (parenthesized_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))" ( (pointer_expression "**(code **)(PTR_DAT_0015b5d8 + -0x5da0)" * (pointer_expression "*(code **)(PTR_DAT_0015b5d8 + -0x5da0)" * (cast_expression "(code **)(PTR_DAT_0015b5d8 + -0x5da0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0015b5d8 + -0x5da0)" ( (binary_expression "PTR_DAT_0015b5d8 + -0x5da0" identifier + number_literal) ))))) )) (argument_list "(p)" ( identifier ))) , (binary_expression "db->mallocFailed != '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) || (parenthesized_expression "(pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0)" ( (comma_expression "pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db),\n     pEStack_30 == (ExprList *)0x0" (assignment_expression "pEStack_30 = (ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db)" identifier = (cast_expression "(ExprList *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db)" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(db)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2b10)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2b10)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2b10)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x2b10" identifier + number_literal) )))) )) (argument_list "(db)" ( identifier ))))) , (binary_expression "pEStack_30 == (ExprList *)0x0" identifier == (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    pEStack_30 = (ExprList *)0x0;\n  }" { (expression_statement "pEStack_30 = (ExprList *)0x0;" (assignment_expression "pEStack_30 = (ExprList *)0x0" identifier = (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pEStack_30->nExpr = p->nExpr;\n    if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }\n  }" else (compound_statement "{\n    pEStack_30->nExpr = p->nExpr;\n    if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }\n  }" { (expression_statement "pEStack_30->nExpr = p->nExpr;" (assignment_expression "pEStack_30->nExpr = p->nExpr" (field_expression "pEStack_30->nExpr" identifier -> field_identifier) = (field_expression "p->nExpr" identifier -> field_identifier)) ;) (if_statement "if (0 < p->nExpr) {\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }" if (parenthesized_expression "(0 < p->nExpr)" ( (binary_expression "0 < p->nExpr" number_literal < (field_expression "p->nExpr" identifier -> field_identifier)) )) (compound_statement "{\n      iVar6 = 0;\n      pEStack_2c = (Expr *)0x0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      pEVar8 = p->a;\n      pEVar10 = pEStack_30->a;\n      do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pEStack_2c = (Expr *)0x0;" (assignment_expression "pEStack_2c = (Expr *)0x0" identifier = (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c)" identifier = (cast_expression "(code *)(PTR_LAB_0015b700 + -0x271c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + -0x271c)" ( (binary_expression "PTR_LAB_0015b700 + -0x271c" identifier + number_literal) )))) ;) (expression_statement "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar7 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) ;) (expression_statement "pEVar8 = p->a;" (assignment_expression "pEVar8 = p->a" identifier = (field_expression "p->a" identifier -> field_identifier)) ;) (expression_statement "pEVar10 = pEStack_30->a;" (assignment_expression "pEVar10 = pEStack_30->a" identifier = (field_expression "pEStack_30->a" identifier -> field_identifier)) ;) (do_statement "do {\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      } while (iVar6 < p->nExpr);" do (compound_statement "{\n        pEVar9 = pEVar8->pExpr;\n        if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);\n        pEVar10->zName = pcVar5;\n        iVar6 = iVar6 + 1;\n        pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);\n        bVar1 = pEVar10->field_0xd;\n        pEVar10->zSpan = pcVar5;\n        pEVar10->sortOrder = pEVar8->sortOrder;\n        pEVar10->field_0xd = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);\n        pEVar10->field_0xd = bVar1 & 0x3f | bVar2;\n        pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;\n        pEVar10->u = pEVar8->u;\n        pEVar8 = pEVar8 + 1;\n        pEVar10 = pEVar10 + 1;\n      }" { (expression_statement "pEVar9 = pEVar8->pExpr;" (assignment_expression "pEVar9 = pEVar8->pExpr" identifier = (field_expression "pEVar8->pExpr" identifier -> field_identifier)) ;) (if_statement "if (pEVar9 == (Expr *)0x0) {\n          pEVar10->pExpr = (Expr *)0x0;\n        }\n        else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }" if (parenthesized_expression "(pEVar9 == (Expr *)0x0)" ( (binary_expression "pEVar9 == (Expr *)0x0" identifier == (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pEVar10->pExpr = (Expr *)0x0;\n        }" { (expression_statement "pEVar10->pExpr = (Expr *)0x0;" (assignment_expression "pEVar10->pExpr = (Expr *)0x0" (field_expression "pEVar10->pExpr" identifier -> field_identifier) = (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }" else (compound_statement "{\n          pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);\n          pEVar10->pExpr = pEVar4;\n          if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }\n        }" { (expression_statement "pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0);" (assignment_expression "pEVar4 = (Expr *)(*pcVar3)(db,pEVar9,flags,0)" identifier = (cast_expression "(Expr *)(*pcVar3)(db,pEVar9,flags,0)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar3)(db,pEVar9,flags,0)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(db,pEVar9,flags,0)" ( identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "pEVar10->pExpr = pEVar4;" (assignment_expression "pEVar10->pExpr = pEVar4" (field_expression "pEVar10->pExpr" identifier -> field_identifier) = identifier) ;) (if_statement "if ((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)) {\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }" if (parenthesized_expression "((pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0))" ( (binary_expression "(pEVar9->op == 0xa6) && (pEVar4 != (Expr *)0x0)" (parenthesized_expression "(pEVar9->op == 0xa6)" ( (binary_expression "pEVar9->op == 0xa6" (field_expression "pEVar9->op" identifier -> field_identifier) == number_literal) )) && (parenthesized_expression "(pEVar4 != (Expr *)0x0)" ( (binary_expression "pEVar4 != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n            if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }\n          }" { (if_statement "if (pEVar4->iColumn == 0) {\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }\n            else {\n              pEVar4->pLeft = pEStack_2c;\n            }" if (parenthesized_expression "(pEVar4->iColumn == 0)" ( (binary_expression "pEVar4->iColumn == 0" (field_expression "pEVar4->iColumn" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n              pEStack_2c = pEVar4->pRight;\n              pEVar4->pLeft = pEStack_2c;\n            }" { (expression_statement "pEStack_2c = pEVar4->pRight;" (assignment_expression "pEStack_2c = pEVar4->pRight" identifier = (field_expression "pEVar4->pRight" identifier -> field_identifier)) ;) (expression_statement "pEVar4->pLeft = pEStack_2c;" (assignment_expression "pEVar4->pLeft = pEStack_2c" (field_expression "pEVar4->pLeft" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n              pEVar4->pLeft = pEStack_2c;\n            }" else (compound_statement "{\n              pEVar4->pLeft = pEStack_2c;\n            }" { (expression_statement "pEVar4->pLeft = pEStack_2c;" (assignment_expression "pEVar4->pLeft = pEStack_2c" (field_expression "pEVar4->pLeft" identifier -> field_identifier) = identifier) ;) }))) })) }))) (expression_statement "pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName);" (assignment_expression "pcVar5 = (char *)(*pcVar7)(db,pEVar8->zName)" identifier = (cast_expression "(char *)(*pcVar7)(db,pEVar8->zName)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar7)(db,pEVar8->zName)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(db,pEVar8->zName)" ( identifier , (field_expression "pEVar8->zName" identifier -> field_identifier) ))))) ;) (expression_statement "pEVar10->zName = pcVar5;" (assignment_expression "pEVar10->zName = pcVar5" (field_expression "pEVar10->zName" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan);" (assignment_expression "pcVar5 = (char *)(*pcVar7)(db,pEVar8->zSpan)" identifier = (cast_expression "(char *)(*pcVar7)(db,pEVar8->zSpan)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar7)(db,pEVar8->zSpan)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(db,pEVar8->zSpan)" ( identifier , (field_expression "pEVar8->zSpan" identifier -> field_identifier) ))))) ;) (expression_statement "bVar1 = pEVar10->field_0xd;" (assignment_expression "bVar1 = pEVar10->field_0xd" identifier = (field_expression "pEVar10->field_0xd" identifier -> field_identifier)) ;) (expression_statement "pEVar10->zSpan = pcVar5;" (assignment_expression "pEVar10->zSpan = pcVar5" (field_expression "pEVar10->zSpan" identifier -> field_identifier) = identifier) ;) (expression_statement "pEVar10->sortOrder = pEVar8->sortOrder;" (assignment_expression "pEVar10->sortOrder = pEVar8->sortOrder" (field_expression "pEVar10->sortOrder" identifier -> field_identifier) = (field_expression "pEVar8->sortOrder" identifier -> field_identifier)) ;) (expression_statement "pEVar10->field_0xd = bVar1 & 0x7f;" (assignment_expression "pEVar10->field_0xd = bVar1 & 0x7f" (field_expression "pEVar10->field_0xd" identifier -> field_identifier) = (binary_expression "bVar1 & 0x7f" identifier & number_literal)) ;) (expression_statement "bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6);" (assignment_expression "bVar2 = (byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6)" identifier = (call_expression "(byte)(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6)" ( (binary_expression "((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f) << 6" (parenthesized_expression "((uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f)" ( (binary_expression "(uint)(*(int *)&pEVar8->sortOrder << 9) >> 0x1f" (call_expression "(uint)(*(int *)&pEVar8->sortOrder << 9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)&pEVar8->sortOrder << 9)" ( (binary_expression "*(int *)&pEVar8->sortOrder << 9" (pointer_expression "*(int *)&pEVar8->sortOrder" * (cast_expression "(int *)&pEVar8->sortOrder" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar8->sortOrder" & (field_expression "pEVar8->sortOrder" identifier -> field_identifier)))) << number_literal) ))) >> number_literal) )) << number_literal) )))) ;) (expression_statement "pEVar10->field_0xd = bVar1 & 0x3f | bVar2;" (assignment_expression "pEVar10->field_0xd = bVar1 & 0x3f | bVar2" (field_expression "pEVar10->field_0xd" identifier -> field_identifier) = (binary_expression "bVar1 & 0x3f | bVar2" (binary_expression "bVar1 & 0x3f" identifier & number_literal) | identifier)) ;) (expression_statement "pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)\n        ;" (assignment_expression "pEVar10->field_0xd =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)" (field_expression "pEVar10->field_0xd" identifier -> field_identifier) = (binary_expression "bVar1 & 0x2f | bVar2 | (byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)" (binary_expression "bVar1 & 0x2f | bVar2" (binary_expression "bVar1 & 0x2f" identifier & number_literal) | identifier) | (call_expression "(byte)(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4)" ( (binary_expression "((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f) << 4" (parenthesized_expression "((uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f)" ( (binary_expression "(uint)(*(int *)&pEVar8->sortOrder << 0xb) >> 0x1f" (call_expression "(uint)(*(int *)&pEVar8->sortOrder << 0xb)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)&pEVar8->sortOrder << 0xb)" ( (binary_expression "*(int *)&pEVar8->sortOrder << 0xb" (pointer_expression "*(int *)&pEVar8->sortOrder" * (cast_expression "(int *)&pEVar8->sortOrder" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar8->sortOrder" & (field_expression "pEVar8->sortOrder" identifier -> field_identifier)))) << number_literal) ))) >> number_literal) )) << number_literal) ))))) ;) (expression_statement "pEVar10->u = pEVar8->u;" (assignment_expression "pEVar10->u = pEVar8->u" (field_expression "pEVar10->u" identifier -> field_identifier) = (field_expression "pEVar8->u" identifier -> field_identifier)) ;) (expression_statement "pEVar8 = pEVar8 + 1;" (assignment_expression "pEVar8 = pEVar8 + 1" identifier = (binary_expression "pEVar8 + 1" identifier + number_literal)) ;) (expression_statement "pEVar10 = pEVar10 + 1;" (assignment_expression "pEVar10 = pEVar10 + 1" identifier = (binary_expression "pEVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 < p->nExpr)" ( (binary_expression "iVar6 < p->nExpr" identifier < (field_expression "p->nExpr" identifier -> field_identifier)) )) ;) })) }))) (return_statement "return pEStack_30;" return identifier ;) })))
(translation_unit "int * FUN_0004de10(int param_1,int *param_2,undefined4 param_3)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}\n\n" (function_definition "int * FUN_0004de10(int param_1,int *param_2,undefined4 param_3)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}" primitive_type (pointer_declarator "* FUN_0004de10(int param_1,int *param_2,undefined4 param_3)" * (function_declarator "FUN_0004de10(int param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (if_statement "if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" if (parenthesized_expression "(((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0))" ( (binary_expression "((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)" (parenthesized_expression "((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0'))" ( (binary_expression "(param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')" (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')" ( (comma_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0'" (call_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2)" (parenthesized_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))" ( (pointer_expression "**(code **)(PTR_DAT_0015b5d8 + -0x5da0)" * (pointer_expression "*(code **)(PTR_DAT_0015b5d8 + -0x5da0)" * (cast_expression "(code **)(PTR_DAT_0015b5d8 + -0x5da0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0015b5d8 + -0x5da0)" ( (binary_expression "PTR_DAT_0015b5d8 + -0x5da0" identifier + number_literal) ))))) )) (argument_list "(param_2)" ( identifier ))) , (binary_expression "*(char *)(param_1 + 0x51) != '\0'" (pointer_expression "*(char *)(param_1 + 0x51)" * (cast_expression "(char *)(param_1 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x51)" ( (binary_expression "param_1 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence '))) ))) )) || (parenthesized_expression "(local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)" ( (comma_expression "local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0" (assignment_expression "local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" identifier = (cast_expression "(int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))" ( (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2b10)" * (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2b10)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2b10)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x2b10" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))))) , (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    local_30 = (int *)0x0;\n  }" { (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" else (compound_statement "{\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" { (expression_statement "*local_30 = *param_2;" (assignment_expression "*local_30 = *param_2" (pointer_expression "*local_30" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }" if (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c)" identifier = (cast_expression "(code *)(PTR_LAB_0015b700 + -0x271c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b700 + -0x271c)" ( (binary_expression "PTR_LAB_0015b700 + -0x271c" identifier + number_literal) )))) ;) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" ( (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" identifier + number_literal) )))) ;) (expression_statement "piVar7 = param_2 + 1;" (assignment_expression "piVar7 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "piVar9 = local_30 + 1;" (assignment_expression "piVar9 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (do_statement "do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);" do (compound_statement "{\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      }" { (expression_statement "pcVar8 = (char *)*piVar7;" (assignment_expression "pcVar8 = (char *)*piVar7" identifier = (cast_expression "(char *)*piVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar7" * identifier))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *piVar9 = 0;\n        }" { (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" * identifier) = number_literal) ;) }) (else_clause "else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" else (compound_statement "{\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" { (expression_statement "iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);" (assignment_expression "iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0)" identifier = (call_expression "(*pcVar3)(param_1,pcVar8,param_3,0)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_1,pcVar8,param_3,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "*piVar9 = iVar4;" (assignment_expression "*piVar9 = iVar4" (pointer_expression "*piVar9" * identifier) = identifier) ;) (if_statement "if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }" if (parenthesized_expression "((*pcVar8 == -0x5a) && (iVar4 != 0))" ( (binary_expression "(*pcVar8 == -0x5a) && (iVar4 != 0)" (parenthesized_expression "(*pcVar8 == -0x5a)" ( (binary_expression "*pcVar8 == -0x5a" (pointer_expression "*pcVar8" * identifier) == number_literal) )) && (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }" { (if_statement "if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" if (parenthesized_expression "(*(int *)(iVar4 + 0x20) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x20) == 0" (pointer_expression "*(int *)(iVar4 + 0x20)" * (cast_expression "(int *)(iVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" { (expression_statement "local_2c = *(undefined4 *)(iVar4 + 0x10);" (assignment_expression "local_2c = *(undefined4 *)(iVar4 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" * (cast_expression "(undefined4 *)(iVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0xc) = local_2c;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = local_2c" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" else (compound_statement "{\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" { (expression_statement "*(undefined4 *)(iVar4 + 0xc) = local_2c;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = local_2c" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) }))) })) }))) (expression_statement "iVar4 = (*pcVar6)(param_1,piVar7[1]);" (assignment_expression "iVar4 = (*pcVar6)(param_1,piVar7[1])" identifier = (call_expression "(*pcVar6)(param_1,piVar7[1])" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1,piVar7[1])" ( identifier , (subscript_expression "piVar7[1]" identifier [ number_literal ]) )))) ;) (expression_statement "piVar9[1] = iVar4;" (assignment_expression "piVar9[1] = iVar4" (subscript_expression "piVar9[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = (*pcVar6)(param_1,piVar7[2]);" (assignment_expression "iVar4 = (*pcVar6)(param_1,piVar7[2])" identifier = (call_expression "(*pcVar6)(param_1,piVar7[2])" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "(param_1,piVar7[2])" ( identifier , (subscript_expression "piVar7[2]" identifier [ number_literal ]) )))) ;) (expression_statement "bVar1 = *(byte *)((int)piVar9 + 0xd);" (assignment_expression "bVar1 = *(byte *)((int)piVar9 + 0xd)" identifier = (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "piVar9[2] = iVar4;" (assignment_expression "piVar9[2] = iVar4" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);" (assignment_expression "*(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3)" (pointer_expression "*(undefined1 *)(piVar9 + 3)" * (cast_expression "(undefined1 *)(piVar9 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar9 + 3)" ( (binary_expression "piVar9 + 3" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(piVar7 + 3)" * (cast_expression "(undefined1 *)(piVar7 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 3)" ( (binary_expression "piVar7 + 3" identifier + number_literal) ))))) ;) (expression_statement "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;" (assignment_expression "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "bVar1 & 0x7f" identifier & number_literal)) ;) (expression_statement "bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);" (assignment_expression "bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" identifier = (call_expression "(byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" ( (binary_expression "((uint)(piVar7[3] << 9) >> 0x1f) << 6" (parenthesized_expression "((uint)(piVar7[3] << 9) >> 0x1f)" ( (binary_expression "(uint)(piVar7[3] << 9) >> 0x1f" (call_expression "(uint)(piVar7[3] << 9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar7[3] << 9)" ( (binary_expression "piVar7[3] << 9" (subscript_expression "piVar7[3]" identifier [ number_literal ]) << number_literal) ))) >> number_literal) )) << number_literal) )))) ;) (expression_statement "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;" (assignment_expression "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "bVar1 & 0x3f | bVar2" (binary_expression "bVar1 & 0x3f" identifier & number_literal) | identifier)) ;) (expression_statement "*(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);" (assignment_expression "*(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" * (cast_expression "(byte *)((int)piVar9 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar9 + 0xd)" ( (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (binary_expression "bVar1 & 0x2f | bVar2" (binary_expression "bVar1 & 0x2f" identifier & number_literal) | identifier) | (call_expression "(byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" ( (binary_expression "((uint)(piVar7[3] << 0xb) >> 0x1f) << 4" (parenthesized_expression "((uint)(piVar7[3] << 0xb) >> 0x1f)" ( (binary_expression "(uint)(piVar7[3] << 0xb) >> 0x1f" (call_expression "(uint)(piVar7[3] << 0xb)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(piVar7[3] << 0xb)" ( (binary_expression "piVar7[3] << 0xb" (subscript_expression "piVar7[3]" identifier [ number_literal ]) << number_literal) ))) >> number_literal) )) << number_literal) ))))) ;) (expression_statement "piVar9[4] = piVar7[4];" (assignment_expression "piVar9[4] = piVar7[4]" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (subscript_expression "piVar7[4]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = piVar7 + 5;" (assignment_expression "piVar7 = piVar7 + 5" identifier = (binary_expression "piVar7 + 5" identifier + number_literal)) ;) (expression_statement "piVar9 = piVar9 + 5;" (assignment_expression "piVar9 = piVar9 + 5" identifier = (binary_expression "piVar9 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 < *param_2)" ( (binary_expression "iVar5 < *param_2" identifier < (pointer_expression "*param_2" * identifier)) )) ;) })) }))) (return_statement "return local_30;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence '))) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (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) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (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 = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) ))) >> LIT) )) << LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (binary_expression IDENT & LIT) | IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (binary_expression (binary_expression IDENT & LIT) | IDENT) | (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) ))) >> LIT) )) << LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0004de10(int param_1,int *param_2,undefined4 param_3)\n\n{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}" (primitive_type "int") (pointer_declarator "* FUN_0004de10(int param_1,int *param_2,undefined4 param_3)" (* "*") (function_declarator "FUN_0004de10(int param_1,int *param_2,undefined4 param_3)" (identifier "FUN_0004de10") (parameter_list "(int param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")")))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  code *pcVar3;\n  int iVar4;\n  int iVar5;\n  code *pcVar6;\n  int *piVar7;\n  char *pcVar8;\n  int *piVar9;\n  int *local_30;\n  undefined4 local_2c;\n  \n  if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }\n  return local_30;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "code *pcVar6;" (type_identifier "code") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (if_statement "if (((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {\n    local_30 = (int *)0x0;\n  }\n  else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" (if "if") (parenthesized_expression "(((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0))" (( "(") (binary_expression "((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||\n     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)" (parenthesized_expression "((param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0'))" (( "(") (binary_expression "(param_2 == (int *)0x0) ||\n      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')" (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')" (( "(") (comma_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0'" (call_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2)" (parenthesized_expression "(**(code **)(PTR_DAT_0015b5d8 + -0x5da0))" (( "(") (pointer_expression "**(code **)(PTR_DAT_0015b5d8 + -0x5da0)" (* "*") (pointer_expression "*(code **)(PTR_DAT_0015b5d8 + -0x5da0)" (* "*") (cast_expression "(code **)(PTR_DAT_0015b5d8 + -0x5da0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0015b5d8 + -0x5da0)" (( "(") (binary_expression "PTR_DAT_0015b5d8 + -0x5da0" (identifier "PTR_DAT_0015b5d8") (+ "+") (number_literal "-0x5da0")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (, ",") (binary_expression "*(char *)(param_1 + 0x51) != '\0'" (pointer_expression "*(char *)(param_1 + 0x51)" (* "*") (cast_expression "(char *)(param_1 + 0x51)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x51)" (( "(") (binary_expression "param_1 + 0x51" (identifier "param_1") (+ "+") (number_literal "0x51")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)" (( "(") (comma_expression "local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0" (assignment_expression "local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" (identifier "local_30") (= "=") (cast_expression "(int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b6d8 + -0x2b10)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x2b10)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x2b10)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x2b10" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x2b10")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (, ",") (binary_expression "local_30 == (int *)0x0" (identifier "local_30") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    local_30 = (int *)0x0;\n  }" ({ "{") (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" (identifier "local_30") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" (else "else") (compound_statement "{\n    *local_30 = *param_2;\n    if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }\n  }" ({ "{") (expression_statement "*local_30 = *param_2;" (assignment_expression "*local_30 = *param_2" (pointer_expression "*local_30" (* "*") (identifier "local_30")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (0 < *param_2) {\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }" (if "if") (parenthesized_expression "(0 < *param_2)" (( "(") (binary_expression "0 < *param_2" (number_literal "0") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (compound_statement "{\n      iVar5 = 0;\n      local_2c = 0;\n      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);\n      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);\n      piVar7 = param_2 + 1;\n      piVar9 = local_30 + 1;\n      do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);\n    }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c)" (identifier "pcVar3") (= "=") (cast_expression "(code *)(PTR_LAB_0015b700 + -0x271c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b700 + -0x271c)" (( "(") (binary_expression "PTR_LAB_0015b700 + -0x271c" (identifier "PTR_LAB_0015b700") (+ "+") (number_literal "-0x271c")) () ")")))) (; ";")) (expression_statement "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);" (assignment_expression "pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0)" (identifier "pcVar6") (= "=") (cast_expression "(code *)(PTR_LAB_0015b6d8 + -0x23a0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + -0x23a0)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + -0x23a0" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "-0x23a0")) () ")")))) (; ";")) (expression_statement "piVar7 = param_2 + 1;" (assignment_expression "piVar7 = param_2 + 1" (identifier "piVar7") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar9 = local_30 + 1;" (assignment_expression "piVar9 = local_30 + 1" (identifier "piVar9") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      } while (iVar5 < *param_2);" (do "do") (compound_statement "{\n        pcVar8 = (char *)*piVar7;\n        if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }\n        iVar4 = (*pcVar6)(param_1,piVar7[1]);\n        piVar9[1] = iVar4;\n        iVar5 = iVar5 + 1;\n        iVar4 = (*pcVar6)(param_1,piVar7[2]);\n        bVar1 = *(byte *)((int)piVar9 + 0xd);\n        piVar9[2] = iVar4;\n        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;\n        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);\n        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;\n        *(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);\n        piVar9[4] = piVar7[4];\n        piVar7 = piVar7 + 5;\n        piVar9 = piVar9 + 5;\n      }" ({ "{") (expression_statement "pcVar8 = (char *)*piVar7;" (assignment_expression "pcVar8 = (char *)*piVar7" (identifier "pcVar8") (= "=") (cast_expression "(char *)*piVar7" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")))) (; ";")) (if_statement "if (pcVar8 == (char *)0x0) {\n          *piVar9 = 0;\n        }\n        else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" (if "if") (parenthesized_expression "(pcVar8 == (char *)0x0)" (( "(") (binary_expression "pcVar8 == (char *)0x0" (identifier "pcVar8") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *piVar9 = 0;\n        }" ({ "{") (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" (else "else") (compound_statement "{\n          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);\n          *piVar9 = iVar4;\n          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }\n        }" ({ "{") (expression_statement "iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);" (assignment_expression "iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0)" (identifier "iVar4") (= "=") (call_expression "(*pcVar3)(param_1,pcVar8,param_3,0)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_1,pcVar8,param_3,0)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar8") (, ",") (identifier "param_3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*piVar9 = iVar4;" (assignment_expression "*piVar9 = iVar4" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }" (if "if") (parenthesized_expression "((*pcVar8 == -0x5a) && (iVar4 != 0))" (( "(") (binary_expression "(*pcVar8 == -0x5a) && (iVar4 != 0)" (parenthesized_expression "(*pcVar8 == -0x5a)" (( "(") (binary_expression "*pcVar8 == -0x5a" (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) (== "==") (number_literal "-0x5a")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n          }" ({ "{") (if_statement "if (*(int *)(iVar4 + 0x20) == 0) {\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }\n            else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x20) == 0" (pointer_expression "*(int *)(iVar4 + 0x20)" (* "*") (cast_expression "(int *)(iVar4 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x20)" (( "(") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              local_2c = *(undefined4 *)(iVar4 + 0x10);\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" ({ "{") (expression_statement "local_2c = *(undefined4 *)(iVar4 + 0x10);" (assignment_expression "local_2c = *(undefined4 *)(iVar4 + 0x10)" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0xc) = local_2c;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = local_2c" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" (else "else") (compound_statement "{\n              *(undefined4 *)(iVar4 + 0xc) = local_2c;\n            }" ({ "{") (expression_statement "*(undefined4 *)(iVar4 + 0xc) = local_2c;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = local_2c" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_2c")) (; ";")) (} "}")))) (} "}"))) (} "}")))) (expression_statement "iVar4 = (*pcVar6)(param_1,piVar7[1]);" (assignment_expression "iVar4 = (*pcVar6)(param_1,piVar7[1])" (identifier "iVar4") (= "=") (call_expression "(*pcVar6)(param_1,piVar7[1])" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(param_1,piVar7[1])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "piVar9[1] = iVar4;" (assignment_expression "piVar9[1] = iVar4" (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = (*pcVar6)(param_1,piVar7[2]);" (assignment_expression "iVar4 = (*pcVar6)(param_1,piVar7[2])" (identifier "iVar4") (= "=") (call_expression "(*pcVar6)(param_1,piVar7[2])" (parenthesized_expression "(*pcVar6)" (( "(") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) () ")")) (argument_list "(param_1,piVar7[2])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (expression_statement "bVar1 = *(byte *)((int)piVar9 + 0xd);" (assignment_expression "bVar1 = *(byte *)((int)piVar9 + 0xd)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)((int)piVar9 + 0xd)" (* "*") (cast_expression "(byte *)((int)piVar9 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar9 + 0xd)" (( "(") (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9")) (+ "+") (number_literal "0xd")) () ")"))))) (; ";")) (expression_statement "piVar9[2] = iVar4;" (assignment_expression "piVar9[2] = iVar4" (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);" (assignment_expression "*(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3)" (pointer_expression "*(undefined1 *)(piVar9 + 3)" (* "*") (cast_expression "(undefined1 *)(piVar9 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar9 + 3)" (( "(") (binary_expression "piVar9 + 3" (identifier "piVar9") (+ "+") (number_literal "3")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(piVar7 + 3)" (* "*") (cast_expression "(undefined1 *)(piVar7 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 3)" (( "(") (binary_expression "piVar7 + 3" (identifier "piVar7") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;" (assignment_expression "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" (* "*") (cast_expression "(byte *)((int)piVar9 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar9 + 0xd)" (( "(") (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9")) (+ "+") (number_literal "0xd")) () ")")))) (= "=") (binary_expression "bVar1 & 0x7f" (identifier "bVar1") (& "&") (number_literal "0x7f"))) (; ";")) (expression_statement "bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);" (assignment_expression "bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" (identifier "bVar2") (= "=") (call_expression "(byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(((uint)(piVar7[3] << 9) >> 0x1f) << 6)" (( "(") (binary_expression "((uint)(piVar7[3] << 9) >> 0x1f) << 6" (parenthesized_expression "((uint)(piVar7[3] << 9) >> 0x1f)" (( "(") (binary_expression "(uint)(piVar7[3] << 9) >> 0x1f" (call_expression "(uint)(piVar7[3] << 9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(piVar7[3] << 9)" (( "(") (binary_expression "piVar7[3] << 9" (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (<< "<<") (number_literal "9")) () ")"))) (>> ">>") (number_literal "0x1f")) () ")")) (<< "<<") (number_literal "6")) () ")")))) (; ";")) (expression_statement "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;" (assignment_expression "*(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" (* "*") (cast_expression "(byte *)((int)piVar9 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar9 + 0xd)" (( "(") (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9")) (+ "+") (number_literal "0xd")) () ")")))) (= "=") (binary_expression "bVar1 & 0x3f | bVar2" (binary_expression "bVar1 & 0x3f" (identifier "bVar1") (& "&") (number_literal "0x3f")) (| "|") (identifier "bVar2"))) (; ";")) (expression_statement "*(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);" (assignment_expression "*(byte *)((int)piVar9 + 0xd) =\n             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (pointer_expression "*(byte *)((int)piVar9 + 0xd)" (* "*") (cast_expression "(byte *)((int)piVar9 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar9 + 0xd)" (( "(") (binary_expression "(int)piVar9 + 0xd" (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9")) (+ "+") (number_literal "0xd")) () ")")))) (= "=") (binary_expression "bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (binary_expression "bVar1 & 0x2f | bVar2" (binary_expression "bVar1 & 0x2f" (identifier "bVar1") (& "&") (number_literal "0x2f")) (| "|") (identifier "bVar2")) (| "|") (call_expression "(byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4)" (( "(") (binary_expression "((uint)(piVar7[3] << 0xb) >> 0x1f) << 4" (parenthesized_expression "((uint)(piVar7[3] << 0xb) >> 0x1f)" (( "(") (binary_expression "(uint)(piVar7[3] << 0xb) >> 0x1f" (call_expression "(uint)(piVar7[3] << 0xb)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(piVar7[3] << 0xb)" (( "(") (binary_expression "piVar7[3] << 0xb" (subscript_expression "piVar7[3]" (identifier "piVar7") ([ "[") (number_literal "3") (] "]")) (<< "<<") (number_literal "0xb")) () ")"))) (>> ">>") (number_literal "0x1f")) () ")")) (<< "<<") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar9[4] = piVar7[4];" (assignment_expression "piVar9[4] = piVar7[4]" (subscript_expression "piVar9[4]" (identifier "piVar9") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "piVar7[4]" (identifier "piVar7") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "piVar7 = piVar7 + 5;" (assignment_expression "piVar7 = piVar7 + 5" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 5" (identifier "piVar7") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "piVar9 = piVar9 + 5;" (assignment_expression "piVar9 = piVar9 + 5" (identifier "piVar9") (= "=") (binary_expression "piVar9 + 5" (identifier "piVar9") (+ "+") (number_literal "5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 < *param_2)" (( "(") (binary_expression "iVar5 < *param_2" (identifier "iVar5") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (; ";")) (} "}"))) (} "}")))) (return_statement "return local_30;" (return "return") (identifier "local_30") (; ";")) (} "}")))

type_1 * function_1(type_2 *db,type_1 *var_1,int flags)

{
  type_3 var_9;
  type_3 var_10;
  type_4 *pcVar3;
  type_5 *var_7;
  char *pcVar5;
  int var_8;
  type_4 *pcVar7;
  type_6 *var_11;
  type_5 *var_6;
  type_6 *var_12;
  type_1 *var_4;
  type_5 *pEStack_2c;
  
  if (((var_1 == (type_1 *)0x0) ||
      ((**(type_4 **)(var_2 + -0x5da0))(var_1), db->mallocFailed != '\0')) ||
     (var_4 = (type_1 *)(*(type_4 *)(var_3 + -0x2b10))(db),
     var_4 == (type_1 *)0x0)) {
    var_4 = (type_1 *)0x0;
  }
  else {
    var_4->nExpr = var_1->nExpr;
    if (0 < var_1->nExpr) {
      var_8 = 0;
      pEStack_2c = (type_5 *)0x0;
      pcVar3 = (type_4 *)(var_5 + -0x271c);
      pcVar7 = (type_4 *)(var_3 + -0x23a0);
      var_11 = var_1->a;
      var_12 = var_4->a;
      do {
        var_6 = var_11->pExpr;
        if (var_6 == (type_5 *)0x0) {
          var_12->pExpr = (type_5 *)0x0;
        }
        else {
          var_7 = (type_5 *)(*pcVar3)(db,var_6,flags,0);
          var_12->pExpr = var_7;
          if ((var_6->op == 0xa6) && (var_7 != (type_5 *)0x0)) {
            if (var_7->iColumn == 0) {
              pEStack_2c = var_7->pRight;
              var_7->pLeft = pEStack_2c;
            }
            else {
              var_7->pLeft = pEStack_2c;
            }
          }
        }
        pcVar5 = (char *)(*pcVar7)(db,var_11->zName);
        var_12->zName = pcVar5;
        var_8 = var_8 + 1;
        pcVar5 = (char *)(*pcVar7)(db,var_11->zSpan);
        var_9 = var_12->field_0xd;
        var_12->zSpan = pcVar5;
        var_12->sortOrder = var_11->sortOrder;
        var_12->field_0xd = var_9 & 0x7f;
        var_10 = (type_3)(((uint)(*(int *)&var_11->sortOrder << 9) >> 0x1f) << 6);
        var_12->field_0xd = var_9 & 0x3f | var_10;
        var_12->field_0xd =
             var_9 & 0x2f | var_10 | (type_3)(((uint)(*(int *)&var_11->sortOrder << 0xb) >> 0x1f) << 4)
        ;
        var_12->u = var_11->u;
        var_11 = var_11 + 1;
        var_12 = var_12 + 1;
      } while (var_8 < var_1->nExpr);
    }
  }
  return var_4;
}


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

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

{
  byte bVar1;
  byte bVar2;
  code *pcVar3;
  int iVar4;
  int iVar5;
  code *pcVar6;
  int *piVar7;
  char *pcVar8;
  int *piVar9;
  int *local_30;
  undefined4 local_2c;
  
  if (((param_2 == (int *)0x0) ||
      ((**(code **)(PTR_DAT_0015b5d8 + -0x5da0))(param_2), *(char *)(param_1 + 0x51) != '\0')) ||
     (local_30 = (int *)(*(code *)(PTR_LAB_0015b6d8 + -0x2b10))(param_1), local_30 == (int *)0x0)) {
    local_30 = (int *)0x0;
  }
  else {
    *local_30 = *param_2;
    if (0 < *param_2) {
      iVar5 = 0;
      local_2c = 0;
      pcVar3 = (code *)(PTR_LAB_0015b700 + -0x271c);
      pcVar6 = (code *)(PTR_LAB_0015b6d8 + -0x23a0);
      piVar7 = param_2 + 1;
      piVar9 = local_30 + 1;
      do {
        pcVar8 = (char *)*piVar7;
        if (pcVar8 == (char *)0x0) {
          *piVar9 = 0;
        }
        else {
          iVar4 = (*pcVar3)(param_1,pcVar8,param_3,0);
          *piVar9 = iVar4;
          if ((*pcVar8 == -0x5a) && (iVar4 != 0)) {
            if (*(int *)(iVar4 + 0x20) == 0) {
              local_2c = *(undefined4 *)(iVar4 + 0x10);
              *(undefined4 *)(iVar4 + 0xc) = local_2c;
            }
            else {
              *(undefined4 *)(iVar4 + 0xc) = local_2c;
            }
          }
        }
        iVar4 = (*pcVar6)(param_1,piVar7[1]);
        piVar9[1] = iVar4;
        iVar5 = iVar5 + 1;
        iVar4 = (*pcVar6)(param_1,piVar7[2]);
        bVar1 = *(byte *)((int)piVar9 + 0xd);
        piVar9[2] = iVar4;
        *(undefined1 *)(piVar9 + 3) = *(undefined1 *)(piVar7 + 3);
        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x7f;
        bVar2 = (byte)(((uint)(piVar7[3] << 9) >> 0x1f) << 6);
        *(byte *)((int)piVar9 + 0xd) = bVar1 & 0x3f | bVar2;
        *(byte *)((int)piVar9 + 0xd) =
             bVar1 & 0x2f | bVar2 | (byte)(((uint)(piVar7[3] << 0xb) >> 0x1f) << 4);
        piVar9[4] = piVar7[4];
        piVar7 = piVar7 + 5;
        piVar9 = piVar9 + 5;
      } while (iVar5 < *param_2);
    }
  }
  return local_30;
}

