
void import_append_char(ImportCtx *p,int c)

{
  undefined *puVar1;
  int iVar2;
  char *pcVar3;
  int iVar4;
  
  puVar1 = PTR_sqlite3_realloc64_001909e0;
  iVar2 = p->n;
  iVar4 = iVar2 + 1;
  if (iVar4 < p->nAlloc) {
    p->n = iVar4;
    p->z[iVar2] = (char)c;
    return;
  }
  iVar2 = p->nAlloc * 2 + 100;
  p->nAlloc = iVar2;
  pcVar3 = (char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f);
  p->z = pcVar3;
  if (pcVar3 != (char *)0x0) {
    iVar2 = p->n;
    p->n = iVar2 + 1;
    pcVar3[iVar2] = (char)c;
    return;
  }
                    /* WARNING: Subroutine does not return */
  shell_out_of_memory();
}



int FUN_00023f6c(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  uint uVar3;
  undefined4 uVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  undefined4 *puVar10;
  undefined *puVar11;
  code *pcVar12;
  
  puVar11 = PTR_sqlite3_realloc64_001909e0;
  iVar1 = *(int *)(param_1 + 0xc);
  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {
    *(int *)(param_1 + 0xc) = iVar1 + 1;
    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;
    return iVar1;
  }
  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;
  *(int *)(param_1 + 0x10) = iVar1;
  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);
  *(undefined4 **)(param_1 + 8) = puVar2;
  if (puVar2 != (undefined4 *)0x0) {
    iVar1 = *(int *)(param_1 + 0xc);
    *(int *)(param_1 + 0xc) = iVar1 + 1;
    *(char *)((int)puVar2 + iVar1) = (char)param_2;
    return iVar1;
  }
  puVar11 = PTR_LAB_00190954 + 0x3f24;
  FUN_00023f24();
  iVar1 = *(int *)(puVar11 + 0x16c924);
  while( true ) {
    pcVar12 = *(code **)(puVar11 + 0x16cd20);
    uVar7 = puVar2[8];
    uVar6 = puVar2[9];
    puVar2[3] = 0;
    uVar3 = (*pcVar12)(puVar2[1]);
    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {
      puVar2[7] = 0xffffffff;
      return 0;
    }
    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);
    if (uVar3 == 0x22) break;
    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;
    if (puVar2[6] != 0) goto joined_r0x00024184;
    FUN_00023f6c(puVar2,uVar3);
    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;
    FUN_00023f6c(puVar2,uVar3);
    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;
    puVar2[3] = 0;
    puVar2[6] = 1;
  }
  uVar4 = puVar2[5];
  iVar1 = *(int *)(puVar11 + 0x16c934);
  uVar3 = 0;
  uVar9 = 0;
LAB_00024300:
  do {
    uVar8 = uVar3;
    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
    if (uVar6 == uVar3) {
      puVar2[5] = puVar2[5] + 1;
    }
    if (uVar3 != 0x22) {
      if (uVar7 == uVar3) {
        if (uVar8 != 0x22) {
          if (uVar6 == uVar7) goto LAB_0002434c;
          goto LAB_000242a8;
        }
LAB_000243b0:
        iVar1 = puVar2[3];
      }
      else {
        if (uVar6 != uVar3) {
LAB_000242a8:
          if (uVar3 != 0xffffffff) {
LAB_000242b0:
            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {
              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);
            }
            goto LAB_000242e8;
          }
          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);
          if (uVar8 == 0x22) goto LAB_000243b0;
          goto LAB_0002436c;
        }
        if (uVar8 != 0x22) goto LAB_0002434c;
        iVar1 = puVar2[3];
      }
      iVar5 = puVar2[2];
      iVar1 = iVar1 + -1;
      do {
        puVar2[3] = iVar1;
        iVar1 = iVar1 + -1;
      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');
      puVar2[7] = uVar3;
      goto LAB_000241e8;
    }
    if (uVar8 != 0x22) {
      if (uVar7 == 0x22) {
        if (uVar6 == 0x22) goto LAB_0002434c;
      }
      else {
        if (uVar6 != 0x22) goto LAB_000242b0;
LAB_0002434c:
        if (uVar8 != 0xd) goto LAB_000242a8;
        if (uVar9 == 0x22) goto LAB_000243b0;
        if (uVar3 == 0xffffffff) break;
      }
LAB_000242e8:
      FUN_00023f6c(puVar2,uVar3);
      uVar9 = uVar8;
      goto LAB_00024300;
    }
    uVar3 = 0;
  } while( true );
  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);
LAB_0002436c:
  (**(code **)(puVar11 + 0x16ccd8))
            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);
  iVar5 = puVar2[2];
  puVar2[7] = 0xffffffff;
  goto LAB_000241e8;
joined_r0x0002417c:
  if (uVar3 == 0xffffffff) goto LAB_000241d8;
joined_r0x00024184:
  if (uVar7 == uVar3) goto LAB_000241dc;
  if (uVar6 == uVar3) {
    iVar5 = puVar2[2];
    goto LAB_00024240;
  }
  FUN_00023f6c(puVar2,uVar3);
  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
  goto joined_r0x0002417c;
LAB_000241d8:
  uVar3 = 0xffffffff;
LAB_000241dc:
  iVar5 = puVar2[2];
  if (uVar3 == uVar6) {
LAB_00024240:
    iVar1 = puVar2[3];
    puVar2[5] = puVar2[5] + 1;
    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {
      puVar2[3] = iVar1 + -1;
    }
  }
  puVar2[7] = uVar3;
LAB_000241e8:
  if (iVar5 != 0) {
    *(undefined1 *)(iVar5 + puVar2[3]) = 0;
    iVar5 = puVar2[2];
  }
  puVar2[6] = 1;
  return iVar5;
}


lui gp,0x17
addiu gp,gp,0x49b4
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw v0,0xc(a0)
lw a3,0x10(a0)
addiu v1,v0,0x1
slt a2,v1,a3
beq a2,zero,0x00023fc0
_lw a0,0x8(a0)
addu a0,a0,v0
sw v1,0xc(s0)
sb a1,0x0(a0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
addiu v0,a3,0x64
lw t9,-0x7f40(gp)
sw a1,0x24(sp)
addu a3,v0,a3
sra a2,a3,0x1f
jalr t9
_sw a3,0x10(s0)
lw gp,0x10(sp)
or a0,v0,zero
beq v0,zero,0x00024014
_sw v0,0x8(s0)
lw v0,0xc(s0)
lw a1,0x24(sp)
addu a0,a0,v0
addiu v1,v0,0x1
sw v1,0xc(s0)
sb a1,0x0(a0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7fcc(gp)
addiu t9,t9,0x3f24
bal 0x00023f24
_nop
(translation_unit "int FUN_00023f6c(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}\n\n" (function_definition "int FUN_00023f6c(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}" primitive_type (function_declarator "FUN_00023f6c(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (expression_statement "puVar11 = PTR_sqlite3_realloc64_001909e0;" (assignment_expression "puVar11 = PTR_sqlite3_realloc64_001909e0" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 + 1 < *(int *)(param_1 + 0x10))" ( (binary_expression "iVar1 + 1 < *(int *)(param_1 + 0x10)" (binary_expression "iVar1 + 1" identifier + number_literal) < (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;" (assignment_expression "*(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2" (pointer_expression "*(char *)(*(int *)(param_1 + 8) + iVar1)" * (cast_expression "(char *)(*(int *)(param_1 + 8) + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + iVar1)" ( (binary_expression "*(int *)(param_1 + 8) + iVar1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + identifier) )))) = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10) * 2 + 100" identifier = (binary_expression "*(int *)(param_1 + 0x10) * 2 + 100" (binary_expression "*(int *)(param_1 + 0x10) * 2" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) * number_literal) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" ( (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , (binary_expression "iVar1 >> 0x1f" identifier >> number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 8) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0xc) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)puVar2 + iVar1) = (char)param_2;" (assignment_expression "*(char *)((int)puVar2 + iVar1) = (char)param_2" (pointer_expression "*(char *)((int)puVar2 + iVar1)" * (cast_expression "(char *)((int)puVar2 + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + iVar1)" ( (binary_expression "(int)puVar2 + iVar1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "puVar11 = PTR_LAB_00190954 + 0x3f24;" (assignment_expression "puVar11 = PTR_LAB_00190954 + 0x3f24" identifier = (binary_expression "PTR_LAB_00190954 + 0x3f24" identifier + number_literal)) ;) (expression_statement "FUN_00023f24();" (call_expression "FUN_00023f24()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(puVar11 + 0x16c924);" (assignment_expression "iVar1 = *(int *)(puVar11 + 0x16c924)" identifier = (pointer_expression "*(int *)(puVar11 + 0x16c924)" * (cast_expression "(int *)(puVar11 + 0x16c924)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x16c924)" ( (binary_expression "puVar11 + 0x16c924" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }" { (expression_statement "pcVar12 = *(code **)(puVar11 + 0x16cd20);" (assignment_expression "pcVar12 = *(code **)(puVar11 + 0x16cd20)" identifier = (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = puVar2[8];" (assignment_expression "uVar7 = puVar2[8]" identifier = (subscript_expression "puVar2[8]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar2[9];" (assignment_expression "uVar6 = puVar2[9]" identifier = (subscript_expression "puVar2[9]" identifier [ number_literal ])) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = (*pcVar12)(puVar2[1]);" (assignment_expression "uVar3 = (*pcVar12)(puVar2[1])" identifier = (call_expression "(*pcVar12)(puVar2[1])" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }" if (parenthesized_expression "((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0))" ( (binary_expression "(uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)" (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(iVar1 + 0xf30) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xf30) != 0" (pointer_expression "*(int *)(iVar1 + 0xf30)" * (cast_expression "(int *)(iVar1 + 0xf30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xf30)" ( (binary_expression "iVar1 + 0xf30" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }" { (expression_statement "puVar2[7] = 0xffffffff;" (assignment_expression "puVar2[7] = 0xffffffff" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" * (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ce1c)" ( (binary_expression "puVar11 + 0x16ce1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 == 0x22) break;" if (parenthesized_expression "(uVar3 == 0x22)" ( (binary_expression "uVar3 == 0x22" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;" if (parenthesized_expression "((uVar3 & 0xff) != 0xef)" ( (binary_expression "(uVar3 & 0xff) != 0xef" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) != number_literal) )) (goto_statement "goto joined_r0x00024184;" goto statement_identifier ;)) (if_statement "if (puVar2[6] != 0) goto joined_r0x00024184;" if (parenthesized_expression "(puVar2[6] != 0)" ( (binary_expression "puVar2[6] != 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto joined_r0x00024184;" goto statement_identifier ;)) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;" if (parenthesized_expression "((uVar3 & 0xff) != 0xbb)" ( (binary_expression "(uVar3 & 0xff) != 0xbb" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) != number_literal) )) (goto_statement "goto joined_r0x0002417c;" goto statement_identifier ;)) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;" if (parenthesized_expression "((uVar3 & 0xff) != 0xbf)" ( (binary_expression "(uVar3 & 0xff) != 0xbf" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) != number_literal) )) (goto_statement "goto joined_r0x0002417c;" goto statement_identifier ;)) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[6] = 1;" (assignment_expression "puVar2[6] = 1" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "uVar4 = puVar2[5];" (assignment_expression "uVar4 = puVar2[5]" identifier = (subscript_expression "puVar2[5]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = *(int *)(puVar11 + 0x16c934);" (assignment_expression "iVar1 = *(int *)(puVar11 + 0x16c934)" identifier = (pointer_expression "*(int *)(puVar11 + 0x16c934)" * (cast_expression "(int *)(puVar11 + 0x16c934)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x16c934)" ( (binary_expression "puVar11 + 0x16c934" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );" statement_identifier : (do_statement "do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );" do (compound_statement "{\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  }" { (expression_statement "uVar8 = uVar3;" (assignment_expression "uVar8 = uVar3" identifier = identifier) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }" if (parenthesized_expression "(uVar6 == uVar3)" ( (binary_expression "uVar6 == uVar3" identifier == identifier) )) (compound_statement "{\n      puVar2[5] = puVar2[5] + 1;\n    }" { (expression_statement "puVar2[5] = puVar2[5] + 1;" (assignment_expression "puVar2[5] = puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = (binary_expression "puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) + number_literal)) ;) })) (if_statement "if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }" if (parenthesized_expression "(uVar3 != 0x22)" ( (binary_expression "uVar3 != 0x22" identifier != number_literal) )) (compound_statement "{\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }" { (if_statement "if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" if (parenthesized_expression "(uVar7 == uVar3)" ( (binary_expression "uVar7 == uVar3" identifier == identifier) )) (compound_statement "{\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }" { (if_statement "if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }" if (parenthesized_expression "(uVar8 != 0x22)" ( (binary_expression "uVar8 != 0x22" identifier != number_literal) )) (compound_statement "{\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }" { (if_statement "if (uVar6 == uVar7) goto LAB_0002434c;" if (parenthesized_expression "(uVar6 == uVar7)" ( (binary_expression "uVar6 == uVar7" identifier == identifier) )) (goto_statement "goto LAB_0002434c;" goto statement_identifier ;)) (goto_statement "goto LAB_000242a8;" goto statement_identifier ;) })) (labeled_statement "LAB_000243b0:\n        iVar1 = puVar2[3];" statement_identifier : (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;)) }) (else_clause "else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" else (compound_statement "{\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" { (if_statement "if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }" if (parenthesized_expression "(uVar6 != uVar3)" ( (binary_expression "uVar6 != uVar3" identifier != identifier) )) (compound_statement "{\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }" { (labeled_statement "LAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" statement_identifier : (if_statement "if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" { (labeled_statement "LAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" statement_identifier : (if_statement "if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" if (parenthesized_expression "((uVar8 == 0x22) && (uVar3 != 0xd))" ( (binary_expression "(uVar8 == 0x22) && (uVar3 != 0xd)" (parenthesized_expression "(uVar8 == 0x22)" ( (binary_expression "uVar8 == 0x22" identifier == number_literal) )) && (parenthesized_expression "(uVar3 != 0xd)" ( (binary_expression "uVar3 != 0xd" identifier != number_literal) ))) )) (compound_statement "{\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" { (expression_statement "(**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);" (call_expression "(**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22)" (parenthesized_expression "(**(code **)(puVar11 + 0x16ccd8))" ( (pointer_expression "**(code **)(puVar11 + 0x16ccd8)" * (pointer_expression "*(code **)(puVar11 + 0x16ccd8)" * (cast_expression "(code **)(puVar11 + 0x16ccd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ccd8)" ( (binary_expression "puVar11 + 0x16ccd8" identifier + number_literal) ))))) )) (argument_list "(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22)" ( (pointer_expression "*puVar10" * identifier) , number_literal , (binary_expression "iVar1 + 0x1334" identifier + number_literal) , (pointer_expression "*puVar2" * identifier) , (subscript_expression "puVar2[5]" identifier [ number_literal ]) , number_literal ))) ;) }))) (goto_statement "goto LAB_000242e8;" goto statement_identifier ;) }))) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" * (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ce1c)" ( (binary_expression "puVar11 + 0x16ce1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar8 == 0x22) goto LAB_000243b0;" if (parenthesized_expression "(uVar8 == 0x22)" ( (binary_expression "uVar8 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_000243b0;" goto statement_identifier ;)) (goto_statement "goto LAB_0002436c;" goto statement_identifier ;) })) (if_statement "if (uVar8 != 0x22) goto LAB_0002434c;" if (parenthesized_expression "(uVar8 != 0x22)" ( (binary_expression "uVar8 != 0x22" identifier != number_literal) )) (goto_statement "goto LAB_0002434c;" goto statement_identifier ;)) (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) }))) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (do_statement "do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');" do (compound_statement "{\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      }" { (expression_statement "puVar2[3] = iVar1;" (assignment_expression "puVar2[3] = iVar1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(char *)(iVar5 + iVar1 + 1) != '\"')" ( (binary_expression "*(char *)(iVar5 + iVar1 + 1) != '\"'" (pointer_expression "*(char *)(iVar5 + iVar1 + 1)" * (cast_expression "(char *)(iVar5 + iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar1 + 1)" ( (binary_expression "iVar5 + iVar1 + 1" (binary_expression "iVar5 + iVar1" identifier + identifier) + number_literal) )))) != (char_literal "'\"'" ' escape_sequence ')) )) ;) (expression_statement "puVar2[7] = uVar3;" (assignment_expression "puVar2[7] = uVar3" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_000241e8;" goto statement_identifier ;) })) (if_statement "if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }" if (parenthesized_expression "(uVar8 != 0x22)" ( (binary_expression "uVar8 != 0x22" identifier != number_literal) )) (compound_statement "{\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }" { (if_statement "if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" if (parenthesized_expression "(uVar7 == 0x22)" ( (binary_expression "uVar7 == 0x22" identifier == number_literal) )) (compound_statement "{\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }" { (if_statement "if (uVar6 == 0x22) goto LAB_0002434c;" if (parenthesized_expression "(uVar6 == 0x22)" ( (binary_expression "uVar6 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_0002434c;" goto statement_identifier ;)) }) (else_clause "else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" else (compound_statement "{\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" { (if_statement "if (uVar6 != 0x22) goto LAB_000242b0;" if (parenthesized_expression "(uVar6 != 0x22)" ( (binary_expression "uVar6 != 0x22" identifier != number_literal) )) (goto_statement "goto LAB_000242b0;" goto statement_identifier ;)) (labeled_statement "LAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;" statement_identifier : (if_statement "if (uVar8 != 0xd) goto LAB_000242a8;" if (parenthesized_expression "(uVar8 != 0xd)" ( (binary_expression "uVar8 != 0xd" identifier != number_literal) )) (goto_statement "goto LAB_000242a8;" goto statement_identifier ;))) (if_statement "if (uVar9 == 0x22) goto LAB_000243b0;" if (parenthesized_expression "(uVar9 == 0x22)" ( (binary_expression "uVar9 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_000243b0;" goto statement_identifier ;)) (if_statement "if (uVar3 == 0xffffffff) break;" if (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (labeled_statement "LAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);" statement_identifier : (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;)) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" identifier = identifier) ;) (goto_statement "goto LAB_00024300;" goto statement_identifier ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" * (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ce1c)" ( (binary_expression "puVar11 + 0x16ce1c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);" statement_identifier : (expression_statement "(**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);" (call_expression "(**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22)" (parenthesized_expression "(**(code **)(puVar11 + 0x16ccd8))" ( (pointer_expression "**(code **)(puVar11 + 0x16ccd8)" * (pointer_expression "*(code **)(puVar11 + 0x16ccd8)" * (cast_expression "(code **)(puVar11 + 0x16ccd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ccd8)" ( (binary_expression "puVar11 + 0x16ccd8" identifier + number_literal) ))))) )) (argument_list "(*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22)" ( (pointer_expression "*puVar10" * identifier) , number_literal , (binary_expression "*(int *)(puVar11 + 0x16c934) + 0x1354" (pointer_expression "*(int *)(puVar11 + 0x16c934)" * (cast_expression "(int *)(puVar11 + 0x16c934)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x16c934)" ( (binary_expression "puVar11 + 0x16c934" identifier + number_literal) )))) + number_literal) , (pointer_expression "*puVar2" * identifier) , identifier , number_literal ))) ;)) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "puVar2[7] = 0xffffffff;" (assignment_expression "puVar2[7] = 0xffffffff" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000241e8;" goto statement_identifier ;) (labeled_statement "joined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;" statement_identifier : (if_statement "if (uVar3 == 0xffffffff) goto LAB_000241d8;" if (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (goto_statement "goto LAB_000241d8;" goto statement_identifier ;))) (labeled_statement "joined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;" statement_identifier : (if_statement "if (uVar7 == uVar3) goto LAB_000241dc;" if (parenthesized_expression "(uVar7 == uVar3)" ( (binary_expression "uVar7 == uVar3" identifier == identifier) )) (goto_statement "goto LAB_000241dc;" goto statement_identifier ;))) (if_statement "if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }" if (parenthesized_expression "(uVar6 == uVar3)" ( (binary_expression "uVar6 == uVar3" identifier == identifier) )) (compound_statement "{\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }" { (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_00024240;" goto statement_identifier ;) })) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (goto_statement "goto joined_r0x0002417c;" goto statement_identifier ;) (labeled_statement "LAB_000241d8:\n  uVar3 = 0xffffffff;" statement_identifier : (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;)) (labeled_statement "LAB_000241dc:\n  iVar5 = puVar2[2];" statement_identifier : (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;)) (if_statement "if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }" if (parenthesized_expression "(uVar3 == uVar6)" ( (binary_expression "uVar3 == uVar6" identifier == identifier) )) (compound_statement "{\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }" { (labeled_statement "LAB_00024240:\n    iVar1 = puVar2[3];" statement_identifier : (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;)) (expression_statement "puVar2[5] = puVar2[5] + 1;" (assignment_expression "puVar2[5] = puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = (binary_expression "puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }" if (parenthesized_expression "((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r'))" ( (binary_expression "(0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')" (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) && (parenthesized_expression "(*(char *)(iVar5 + iVar1 + -1) == '\r')" ( (binary_expression "*(char *)(iVar5 + iVar1 + -1) == '\r'" (pointer_expression "*(char *)(iVar5 + iVar1 + -1)" * (cast_expression "(char *)(iVar5 + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar1 + -1)" ( (binary_expression "iVar5 + iVar1 + -1" (binary_expression "iVar5 + iVar1" identifier + identifier) + number_literal) )))) == (char_literal "'\r'" ' escape_sequence ')) ))) )) (compound_statement "{\n      puVar2[3] = iVar1 + -1;\n    }" { (expression_statement "puVar2[3] = iVar1 + -1;" (assignment_expression "puVar2[3] = iVar1 + -1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) })) })) (expression_statement "puVar2[7] = uVar3;" (assignment_expression "puVar2[7] = uVar3" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" statement_identifier : (if_statement "if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" { (expression_statement "*(undefined1 *)(iVar5 + puVar2[3]) = 0;" (assignment_expression "*(undefined1 *)(iVar5 + puVar2[3]) = 0" (pointer_expression "*(undefined1 *)(iVar5 + puVar2[3])" * (cast_expression "(undefined1 *)(iVar5 + puVar2[3])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + puVar2[3])" ( (binary_expression "iVar5 + puVar2[3]" identifier + (subscript_expression "puVar2[3]" identifier [ number_literal ])) )))) = number_literal) ;) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar2[6] = 1;" (assignment_expression "puVar2[6] = 1" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "void import_append_char(ImportCtx *p,int c)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  puVar1 = PTR_sqlite3_realloc64_001909e0;\n  iVar2 = p->n;\n  iVar4 = iVar2 + 1;\n  if (iVar4 < p->nAlloc) {\n    p->n = iVar4;\n    p->z[iVar2] = (char)c;\n    return;\n  }\n  iVar2 = p->nAlloc * 2 + 100;\n  p->nAlloc = iVar2;\n  pcVar3 = (char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f);\n  p->z = pcVar3;\n  if (pcVar3 != (char *)0x0) {\n    iVar2 = p->n;\n    p->n = iVar2 + 1;\n    pcVar3[iVar2] = (char)c;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  shell_out_of_memory();\n}\n\n" (function_definition "void import_append_char(ImportCtx *p,int c)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  puVar1 = PTR_sqlite3_realloc64_001909e0;\n  iVar2 = p->n;\n  iVar4 = iVar2 + 1;\n  if (iVar4 < p->nAlloc) {\n    p->n = iVar4;\n    p->z[iVar2] = (char)c;\n    return;\n  }\n  iVar2 = p->nAlloc * 2 + 100;\n  p->nAlloc = iVar2;\n  pcVar3 = (char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f);\n  p->z = pcVar3;\n  if (pcVar3 != (char *)0x0) {\n    iVar2 = p->n;\n    p->n = iVar2 + 1;\n    pcVar3[iVar2] = (char)c;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  shell_out_of_memory();\n}" primitive_type (function_declarator "import_append_char(ImportCtx *p,int c)" identifier (parameter_list "(ImportCtx *p,int c)" ( (parameter_declaration "ImportCtx *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int c" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  char *pcVar3;\n  int iVar4;\n  \n  puVar1 = PTR_sqlite3_realloc64_001909e0;\n  iVar2 = p->n;\n  iVar4 = iVar2 + 1;\n  if (iVar4 < p->nAlloc) {\n    p->n = iVar4;\n    p->z[iVar2] = (char)c;\n    return;\n  }\n  iVar2 = p->nAlloc * 2 + 100;\n  p->nAlloc = iVar2;\n  pcVar3 = (char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f);\n  p->z = pcVar3;\n  if (pcVar3 != (char *)0x0) {\n    iVar2 = p->n;\n    p->n = iVar2 + 1;\n    pcVar3[iVar2] = (char)c;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  shell_out_of_memory();\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_sqlite3_realloc64_001909e0;" (assignment_expression "puVar1 = PTR_sqlite3_realloc64_001909e0" identifier = identifier) ;) (expression_statement "iVar2 = p->n;" (assignment_expression "iVar2 = p->n" identifier = (field_expression "p->n" identifier -> field_identifier)) ;) (expression_statement "iVar4 = iVar2 + 1;" (assignment_expression "iVar4 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 < p->nAlloc) {\n    p->n = iVar4;\n    p->z[iVar2] = (char)c;\n    return;\n  }" if (parenthesized_expression "(iVar4 < p->nAlloc)" ( (binary_expression "iVar4 < p->nAlloc" identifier < (field_expression "p->nAlloc" identifier -> field_identifier)) )) (compound_statement "{\n    p->n = iVar4;\n    p->z[iVar2] = (char)c;\n    return;\n  }" { (expression_statement "p->n = iVar4;" (assignment_expression "p->n = iVar4" (field_expression "p->n" identifier -> field_identifier) = identifier) ;) (expression_statement "p->z[iVar2] = (char)c;" (assignment_expression "p->z[iVar2] = (char)c" (subscript_expression "p->z[iVar2]" (field_expression "p->z" identifier -> field_identifier) [ identifier ]) = (cast_expression "(char)c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = p->nAlloc * 2 + 100;" (assignment_expression "iVar2 = p->nAlloc * 2 + 100" identifier = (binary_expression "p->nAlloc * 2 + 100" (binary_expression "p->nAlloc * 2" (field_expression "p->nAlloc" identifier -> field_identifier) * number_literal) + number_literal)) ;) (expression_statement "p->nAlloc = iVar2;" (assignment_expression "p->nAlloc = iVar2" (field_expression "p->nAlloc" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar3 = (char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f);" (assignment_expression "pcVar3 = (char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f)" identifier = (cast_expression "(char *)(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(p->z,c,iVar2 >> 0x1f)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p->z,c,iVar2 >> 0x1f)" ( (field_expression "p->z" identifier -> field_identifier) , identifier , (binary_expression "iVar2 >> 0x1f" identifier >> number_literal) ))))) ;) (expression_statement "p->z = pcVar3;" (assignment_expression "p->z = pcVar3" (field_expression "p->z" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    iVar2 = p->n;\n    p->n = iVar2 + 1;\n    pcVar3[iVar2] = (char)c;\n    return;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = p->n;\n    p->n = iVar2 + 1;\n    pcVar3[iVar2] = (char)c;\n    return;\n  }" { (expression_statement "iVar2 = p->n;" (assignment_expression "iVar2 = p->n" identifier = (field_expression "p->n" identifier -> field_identifier)) ;) (expression_statement "p->n = iVar2 + 1;" (assignment_expression "p->n = iVar2 + 1" (field_expression "p->n" identifier -> field_identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3[iVar2] = (char)c;" (assignment_expression "pcVar3[iVar2] = (char)c" (subscript_expression "pcVar3[iVar2]" identifier [ identifier ]) = (cast_expression "(char)c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) comment (expression_statement "shell_out_of_memory();" (call_expression "shell_out_of_memory()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_00023f6c(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}\n\n" (function_definition "int FUN_00023f6c(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}" primitive_type (function_declarator "FUN_00023f6c(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (expression_statement "puVar11 = PTR_sqlite3_realloc64_001909e0;" (assignment_expression "puVar11 = PTR_sqlite3_realloc64_001909e0" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 + 1 < *(int *)(param_1 + 0x10))" ( (binary_expression "iVar1 + 1 < *(int *)(param_1 + 0x10)" (binary_expression "iVar1 + 1" identifier + number_literal) < (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;" (assignment_expression "*(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2" (pointer_expression "*(char *)(*(int *)(param_1 + 8) + iVar1)" * (cast_expression "(char *)(*(int *)(param_1 + 8) + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + iVar1)" ( (binary_expression "*(int *)(param_1 + 8) + iVar1" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + identifier) )))) = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10) * 2 + 100" identifier = (binary_expression "*(int *)(param_1 + 0x10) * 2 + 100" (binary_expression "*(int *)(param_1 + 0x10) * 2" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) * number_literal) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" ( (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , (binary_expression "iVar1 >> 0x1f" identifier >> number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 8) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0xc) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)puVar2 + iVar1) = (char)param_2;" (assignment_expression "*(char *)((int)puVar2 + iVar1) = (char)param_2" (pointer_expression "*(char *)((int)puVar2 + iVar1)" * (cast_expression "(char *)((int)puVar2 + iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + iVar1)" ( (binary_expression "(int)puVar2 + iVar1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "puVar11 = PTR_LAB_00190954 + 0x3f24;" (assignment_expression "puVar11 = PTR_LAB_00190954 + 0x3f24" identifier = (binary_expression "PTR_LAB_00190954 + 0x3f24" identifier + number_literal)) ;) (expression_statement "FUN_00023f24();" (call_expression "FUN_00023f24()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(puVar11 + 0x16c924);" (assignment_expression "iVar1 = *(int *)(puVar11 + 0x16c924)" identifier = (pointer_expression "*(int *)(puVar11 + 0x16c924)" * (cast_expression "(int *)(puVar11 + 0x16c924)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x16c924)" ( (binary_expression "puVar11 + 0x16c924" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }" { (expression_statement "pcVar12 = *(code **)(puVar11 + 0x16cd20);" (assignment_expression "pcVar12 = *(code **)(puVar11 + 0x16cd20)" identifier = (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = puVar2[8];" (assignment_expression "uVar7 = puVar2[8]" identifier = (subscript_expression "puVar2[8]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = puVar2[9];" (assignment_expression "uVar6 = puVar2[9]" identifier = (subscript_expression "puVar2[9]" identifier [ number_literal ])) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = (*pcVar12)(puVar2[1]);" (assignment_expression "uVar3 = (*pcVar12)(puVar2[1])" identifier = (call_expression "(*pcVar12)(puVar2[1])" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }" if (parenthesized_expression "((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0))" ( (binary_expression "(uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)" (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(iVar1 + 0xf30) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xf30) != 0" (pointer_expression "*(int *)(iVar1 + 0xf30)" * (cast_expression "(int *)(iVar1 + 0xf30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xf30)" ( (binary_expression "iVar1 + 0xf30" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }" { (expression_statement "puVar2[7] = 0xffffffff;" (assignment_expression "puVar2[7] = 0xffffffff" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" * (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ce1c)" ( (binary_expression "puVar11 + 0x16ce1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar3 == 0x22) break;" if (parenthesized_expression "(uVar3 == 0x22)" ( (binary_expression "uVar3 == 0x22" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;" if (parenthesized_expression "((uVar3 & 0xff) != 0xef)" ( (binary_expression "(uVar3 & 0xff) != 0xef" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) != number_literal) )) (goto_statement "goto joined_r0x00024184;" goto statement_identifier ;)) (if_statement "if (puVar2[6] != 0) goto joined_r0x00024184;" if (parenthesized_expression "(puVar2[6] != 0)" ( (binary_expression "puVar2[6] != 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) != number_literal) )) (goto_statement "goto joined_r0x00024184;" goto statement_identifier ;)) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;" if (parenthesized_expression "((uVar3 & 0xff) != 0xbb)" ( (binary_expression "(uVar3 & 0xff) != 0xbb" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) != number_literal) )) (goto_statement "goto joined_r0x0002417c;" goto statement_identifier ;)) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;" if (parenthesized_expression "((uVar3 & 0xff) != 0xbf)" ( (binary_expression "(uVar3 & 0xff) != 0xbf" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) != number_literal) )) (goto_statement "goto joined_r0x0002417c;" goto statement_identifier ;)) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[6] = 1;" (assignment_expression "puVar2[6] = 1" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "uVar4 = puVar2[5];" (assignment_expression "uVar4 = puVar2[5]" identifier = (subscript_expression "puVar2[5]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = *(int *)(puVar11 + 0x16c934);" (assignment_expression "iVar1 = *(int *)(puVar11 + 0x16c934)" identifier = (pointer_expression "*(int *)(puVar11 + 0x16c934)" * (cast_expression "(int *)(puVar11 + 0x16c934)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x16c934)" ( (binary_expression "puVar11 + 0x16c934" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );" statement_identifier : (do_statement "do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );" do (compound_statement "{\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  }" { (expression_statement "uVar8 = uVar3;" (assignment_expression "uVar8 = uVar3" identifier = identifier) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }" if (parenthesized_expression "(uVar6 == uVar3)" ( (binary_expression "uVar6 == uVar3" identifier == identifier) )) (compound_statement "{\n      puVar2[5] = puVar2[5] + 1;\n    }" { (expression_statement "puVar2[5] = puVar2[5] + 1;" (assignment_expression "puVar2[5] = puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = (binary_expression "puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) + number_literal)) ;) })) (if_statement "if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }" if (parenthesized_expression "(uVar3 != 0x22)" ( (binary_expression "uVar3 != 0x22" identifier != number_literal) )) (compound_statement "{\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }" { (if_statement "if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" if (parenthesized_expression "(uVar7 == uVar3)" ( (binary_expression "uVar7 == uVar3" identifier == identifier) )) (compound_statement "{\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }" { (if_statement "if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }" if (parenthesized_expression "(uVar8 != 0x22)" ( (binary_expression "uVar8 != 0x22" identifier != number_literal) )) (compound_statement "{\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }" { (if_statement "if (uVar6 == uVar7) goto LAB_0002434c;" if (parenthesized_expression "(uVar6 == uVar7)" ( (binary_expression "uVar6 == uVar7" identifier == identifier) )) (goto_statement "goto LAB_0002434c;" goto statement_identifier ;)) (goto_statement "goto LAB_000242a8;" goto statement_identifier ;) })) (labeled_statement "LAB_000243b0:\n        iVar1 = puVar2[3];" statement_identifier : (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;)) }) (else_clause "else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" else (compound_statement "{\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" { (if_statement "if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }" if (parenthesized_expression "(uVar6 != uVar3)" ( (binary_expression "uVar6 != uVar3" identifier != identifier) )) (compound_statement "{\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }" { (labeled_statement "LAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" statement_identifier : (if_statement "if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" { (labeled_statement "LAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" statement_identifier : (if_statement "if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" if (parenthesized_expression "((uVar8 == 0x22) && (uVar3 != 0xd))" ( (binary_expression "(uVar8 == 0x22) && (uVar3 != 0xd)" (parenthesized_expression "(uVar8 == 0x22)" ( (binary_expression "uVar8 == 0x22" identifier == number_literal) )) && (parenthesized_expression "(uVar3 != 0xd)" ( (binary_expression "uVar3 != 0xd" identifier != number_literal) ))) )) (compound_statement "{\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" { (expression_statement "(**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);" (call_expression "(**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22)" (parenthesized_expression "(**(code **)(puVar11 + 0x16ccd8))" ( (pointer_expression "**(code **)(puVar11 + 0x16ccd8)" * (pointer_expression "*(code **)(puVar11 + 0x16ccd8)" * (cast_expression "(code **)(puVar11 + 0x16ccd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ccd8)" ( (binary_expression "puVar11 + 0x16ccd8" identifier + number_literal) ))))) )) (argument_list "(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22)" ( (pointer_expression "*puVar10" * identifier) , number_literal , (binary_expression "iVar1 + 0x1334" identifier + number_literal) , (pointer_expression "*puVar2" * identifier) , (subscript_expression "puVar2[5]" identifier [ number_literal ]) , number_literal ))) ;) }))) (goto_statement "goto LAB_000242e8;" goto statement_identifier ;) }))) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" * (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ce1c)" ( (binary_expression "puVar11 + 0x16ce1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar8 == 0x22) goto LAB_000243b0;" if (parenthesized_expression "(uVar8 == 0x22)" ( (binary_expression "uVar8 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_000243b0;" goto statement_identifier ;)) (goto_statement "goto LAB_0002436c;" goto statement_identifier ;) })) (if_statement "if (uVar8 != 0x22) goto LAB_0002434c;" if (parenthesized_expression "(uVar8 != 0x22)" ( (binary_expression "uVar8 != 0x22" identifier != number_literal) )) (goto_statement "goto LAB_0002434c;" goto statement_identifier ;)) (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) }))) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (do_statement "do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');" do (compound_statement "{\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      }" { (expression_statement "puVar2[3] = iVar1;" (assignment_expression "puVar2[3] = iVar1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(char *)(iVar5 + iVar1 + 1) != '\"')" ( (binary_expression "*(char *)(iVar5 + iVar1 + 1) != '\"'" (pointer_expression "*(char *)(iVar5 + iVar1 + 1)" * (cast_expression "(char *)(iVar5 + iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar1 + 1)" ( (binary_expression "iVar5 + iVar1 + 1" (binary_expression "iVar5 + iVar1" identifier + identifier) + number_literal) )))) != (char_literal "'\"'" ' escape_sequence ')) )) ;) (expression_statement "puVar2[7] = uVar3;" (assignment_expression "puVar2[7] = uVar3" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_000241e8;" goto statement_identifier ;) })) (if_statement "if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }" if (parenthesized_expression "(uVar8 != 0x22)" ( (binary_expression "uVar8 != 0x22" identifier != number_literal) )) (compound_statement "{\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }" { (if_statement "if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" if (parenthesized_expression "(uVar7 == 0x22)" ( (binary_expression "uVar7 == 0x22" identifier == number_literal) )) (compound_statement "{\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }" { (if_statement "if (uVar6 == 0x22) goto LAB_0002434c;" if (parenthesized_expression "(uVar6 == 0x22)" ( (binary_expression "uVar6 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_0002434c;" goto statement_identifier ;)) }) (else_clause "else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" else (compound_statement "{\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" { (if_statement "if (uVar6 != 0x22) goto LAB_000242b0;" if (parenthesized_expression "(uVar6 != 0x22)" ( (binary_expression "uVar6 != 0x22" identifier != number_literal) )) (goto_statement "goto LAB_000242b0;" goto statement_identifier ;)) (labeled_statement "LAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;" statement_identifier : (if_statement "if (uVar8 != 0xd) goto LAB_000242a8;" if (parenthesized_expression "(uVar8 != 0xd)" ( (binary_expression "uVar8 != 0xd" identifier != number_literal) )) (goto_statement "goto LAB_000242a8;" goto statement_identifier ;))) (if_statement "if (uVar9 == 0x22) goto LAB_000243b0;" if (parenthesized_expression "(uVar9 == 0x22)" ( (binary_expression "uVar9 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_000243b0;" goto statement_identifier ;)) (if_statement "if (uVar3 == 0xffffffff) break;" if (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (labeled_statement "LAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);" statement_identifier : (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;)) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" identifier = identifier) ;) (goto_statement "goto LAB_00024300;" goto statement_identifier ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" * (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ce1c)" ( (binary_expression "puVar11 + 0x16ce1c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);" statement_identifier : (expression_statement "(**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);" (call_expression "(**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22)" (parenthesized_expression "(**(code **)(puVar11 + 0x16ccd8))" ( (pointer_expression "**(code **)(puVar11 + 0x16ccd8)" * (pointer_expression "*(code **)(puVar11 + 0x16ccd8)" * (cast_expression "(code **)(puVar11 + 0x16ccd8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16ccd8)" ( (binary_expression "puVar11 + 0x16ccd8" identifier + number_literal) ))))) )) (argument_list "(*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22)" ( (pointer_expression "*puVar10" * identifier) , number_literal , (binary_expression "*(int *)(puVar11 + 0x16c934) + 0x1354" (pointer_expression "*(int *)(puVar11 + 0x16c934)" * (cast_expression "(int *)(puVar11 + 0x16c934)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0x16c934)" ( (binary_expression "puVar11 + 0x16c934" identifier + number_literal) )))) + number_literal) , (pointer_expression "*puVar2" * identifier) , identifier , number_literal ))) ;)) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "puVar2[7] = 0xffffffff;" (assignment_expression "puVar2[7] = 0xffffffff" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000241e8;" goto statement_identifier ;) (labeled_statement "joined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;" statement_identifier : (if_statement "if (uVar3 == 0xffffffff) goto LAB_000241d8;" if (parenthesized_expression "(uVar3 == 0xffffffff)" ( (binary_expression "uVar3 == 0xffffffff" identifier == number_literal) )) (goto_statement "goto LAB_000241d8;" goto statement_identifier ;))) (labeled_statement "joined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;" statement_identifier : (if_statement "if (uVar7 == uVar3) goto LAB_000241dc;" if (parenthesized_expression "(uVar7 == uVar3)" ( (binary_expression "uVar7 == uVar3" identifier == identifier) )) (goto_statement "goto LAB_000241dc;" goto statement_identifier ;))) (if_statement "if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }" if (parenthesized_expression "(uVar6 == uVar3)" ( (binary_expression "uVar6 == uVar3" identifier == identifier) )) (compound_statement "{\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }" { (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_00024240;" goto statement_identifier ;) })) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" identifier (argument_list "(puVar2,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" identifier = (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" ( (pointer_expression "**(code **)(puVar11 + 0x16cd20)" * (pointer_expression "*(code **)(puVar11 + 0x16cd20)" * (cast_expression "(code **)(puVar11 + 0x16cd20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x16cd20)" ( (binary_expression "puVar11 + 0x16cd20" identifier + number_literal) ))))) )) (argument_list "(puVar2[1])" ( (subscript_expression "puVar2[1]" identifier [ number_literal ]) )))) ;) (goto_statement "goto joined_r0x0002417c;" goto statement_identifier ;) (labeled_statement "LAB_000241d8:\n  uVar3 = 0xffffffff;" statement_identifier : (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;)) (labeled_statement "LAB_000241dc:\n  iVar5 = puVar2[2];" statement_identifier : (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;)) (if_statement "if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }" if (parenthesized_expression "(uVar3 == uVar6)" ( (binary_expression "uVar3 == uVar6" identifier == identifier) )) (compound_statement "{\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }" { (labeled_statement "LAB_00024240:\n    iVar1 = puVar2[3];" statement_identifier : (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" identifier = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;)) (expression_statement "puVar2[5] = puVar2[5] + 1;" (assignment_expression "puVar2[5] = puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = (binary_expression "puVar2[5] + 1" (subscript_expression "puVar2[5]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }" if (parenthesized_expression "((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r'))" ( (binary_expression "(0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')" (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) && (parenthesized_expression "(*(char *)(iVar5 + iVar1 + -1) == '\r')" ( (binary_expression "*(char *)(iVar5 + iVar1 + -1) == '\r'" (pointer_expression "*(char *)(iVar5 + iVar1 + -1)" * (cast_expression "(char *)(iVar5 + iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar1 + -1)" ( (binary_expression "iVar5 + iVar1 + -1" (binary_expression "iVar5 + iVar1" identifier + identifier) + number_literal) )))) == (char_literal "'\r'" ' escape_sequence ')) ))) )) (compound_statement "{\n      puVar2[3] = iVar1 + -1;\n    }" { (expression_statement "puVar2[3] = iVar1 + -1;" (assignment_expression "puVar2[3] = iVar1 + -1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) })) })) (expression_statement "puVar2[7] = uVar3;" (assignment_expression "puVar2[7] = uVar3" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" statement_identifier : (if_statement "if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" { (expression_statement "*(undefined1 *)(iVar5 + puVar2[3]) = 0;" (assignment_expression "*(undefined1 *)(iVar5 + puVar2[3]) = 0" (pointer_expression "*(undefined1 *)(iVar5 + puVar2[3])" * (cast_expression "(undefined1 *)(iVar5 + puVar2[3])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + puVar2[3])" ( (binary_expression "iVar5 + puVar2[3]" identifier + (subscript_expression "puVar2[3]" identifier [ number_literal ])) )))) = number_literal) ;) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" identifier = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar2[6] = 1;" (assignment_expression "puVar2[6] = 1" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (binary_expression IDENT >> LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) )))) = (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) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (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 ( (pointer_expression * IDENT) , LIT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , LIT ))) ;) }))) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( BOOL )) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (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 ( (pointer_expression * IDENT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (pointer_expression * IDENT) , IDENT , LIT ))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (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 ( (subscript_expression IDENT [ LIT ]) )))) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) })) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00023f6c(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}" (primitive_type "int") (function_declarator "FUN_00023f6c(int param_1,undefined4 param_2)" (identifier "FUN_00023f6c") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 *puVar10;\n  undefined *puVar11;\n  code *pcVar12;\n  \n  puVar11 = PTR_sqlite3_realloc64_001909e0;\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;\n  *(int *)(param_1 + 0x10) = iVar1;\n  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);\n  *(undefined4 **)(param_1 + 8) = puVar2;\n  if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }\n  puVar11 = PTR_LAB_00190954 + 0x3f24;\n  FUN_00023f24();\n  iVar1 = *(int *)(puVar11 + 0x16c924);\n  while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }\n  uVar4 = puVar2[5];\n  iVar1 = *(int *)(puVar11 + 0x16c934);\n  uVar3 = 0;\n  uVar9 = 0;\nLAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );\n  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\nLAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);\n  iVar5 = puVar2[2];\n  puVar2[7] = 0xffffffff;\n  goto LAB_000241e8;\njoined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;\njoined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;\n  if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }\n  FUN_00023f6c(puVar2,uVar3);\n  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n  goto joined_r0x0002417c;\nLAB_000241d8:\n  uVar3 = 0xffffffff;\nLAB_000241dc:\n  iVar5 = puVar2[2];\n  if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }\n  puVar2[7] = uVar3;\nLAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }\n  puVar2[6] = 1;\n  return iVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined *puVar11;" (type_identifier "undefined") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "code *pcVar12;" (type_identifier "code") (pointer_declarator "*pcVar12" (* "*") (identifier "pcVar12")) (; ";")) (expression_statement "puVar11 = PTR_sqlite3_realloc64_001909e0;" (assignment_expression "puVar11 = PTR_sqlite3_realloc64_001909e0" (identifier "puVar11") (= "=") (identifier "PTR_sqlite3_realloc64_001909e0")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(iVar1 + 1 < *(int *)(param_1 + 0x10))" (( "(") (binary_expression "iVar1 + 1 < *(int *)(param_1 + 0x10)" (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) (< "<") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;\n    return iVar1;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;" (assignment_expression "*(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2" (pointer_expression "*(char *)(*(int *)(param_1 + 8) + iVar1)" (* "*") (cast_expression "(char *)(*(int *)(param_1 + 8) + iVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + iVar1)" (( "(") (binary_expression "*(int *)(param_1 + 8) + iVar1" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10) * 2 + 100" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_1 + 0x10) * 2 + 100" (binary_expression "*(int *)(param_1 + 0x10) * 2" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (* "*") (number_literal "2")) (+ "+") (number_literal "100"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar1" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" (parenthesized_expression "(*(code *)puVar11)" (( "(") (pointer_expression "*(code *)puVar11" (* "*") (cast_expression "(code *)puVar11" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar11"))) () ")")) (argument_list "(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f)" (( "(") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_2") (, ",") (binary_expression "iVar1 >> 0x1f" (identifier "iVar1") (>> ">>") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(param_1 + 8) = puVar2" (pointer_expression "*(undefined4 **)(param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (if_statement "if (puVar2 != (undefined4 *)0x0) {\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0xc);\n    *(int *)(param_1 + 0xc) = iVar1 + 1;\n    *(char *)((int)puVar2 + iVar1) = (char)param_2;\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = iVar1 + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar1 + 1" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char *)((int)puVar2 + iVar1) = (char)param_2;" (assignment_expression "*(char *)((int)puVar2 + iVar1) = (char)param_2" (pointer_expression "*(char *)((int)puVar2 + iVar1)" (* "*") (cast_expression "(char *)((int)puVar2 + iVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + iVar1)" (( "(") (binary_expression "(int)puVar2 + iVar1" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (identifier "iVar1")) () ")")))) (= "=") (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "puVar11 = PTR_LAB_00190954 + 0x3f24;" (assignment_expression "puVar11 = PTR_LAB_00190954 + 0x3f24" (identifier "puVar11") (= "=") (binary_expression "PTR_LAB_00190954 + 0x3f24" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "0x3f24"))) (; ";")) (expression_statement "FUN_00023f24();" (call_expression "FUN_00023f24()" (identifier "FUN_00023f24") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar11 + 0x16c924);" (assignment_expression "iVar1 = *(int *)(puVar11 + 0x16c924)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(puVar11 + 0x16c924)" (* "*") (cast_expression "(int *)(puVar11 + 0x16c924)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar11 + 0x16c924)" (( "(") (binary_expression "puVar11 + 0x16c924" (identifier "puVar11") (+ "+") (number_literal "0x16c924")) () ")"))))) (; ";")) (while_statement "while( true ) {\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    pcVar12 = *(code **)(puVar11 + 0x16cd20);\n    uVar7 = puVar2[8];\n    uVar6 = puVar2[9];\n    puVar2[3] = 0;\n    uVar3 = (*pcVar12)(puVar2[1]);\n    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }\n    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n    if (uVar3 == 0x22) break;\n    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;\n    if (puVar2[6] != 0) goto joined_r0x00024184;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;\n    FUN_00023f6c(puVar2,uVar3);\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;\n    puVar2[3] = 0;\n    puVar2[6] = 1;\n  }" ({ "{") (expression_statement "pcVar12 = *(code **)(puVar11 + 0x16cd20);" (assignment_expression "pcVar12 = *(code **)(puVar11 + 0x16cd20)" (identifier "pcVar12") (= "=") (pointer_expression "*(code **)(puVar11 + 0x16cd20)" (* "*") (cast_expression "(code **)(puVar11 + 0x16cd20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16cd20)" (( "(") (binary_expression "puVar11 + 0x16cd20" (identifier "puVar11") (+ "+") (number_literal "0x16cd20")) () ")"))))) (; ";")) (expression_statement "uVar7 = puVar2[8];" (assignment_expression "uVar7 = puVar2[8]" (identifier "uVar7") (= "=") (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "uVar6 = puVar2[9];" (assignment_expression "uVar6 = puVar2[9]" (identifier "uVar6") (= "=") (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (*pcVar12)(puVar2[1]);" (assignment_expression "uVar3 = (*pcVar12)(puVar2[1])" (identifier "uVar3") (= "=") (call_expression "(*pcVar12)(puVar2[1])" (parenthesized_expression "(*pcVar12)" (( "(") (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12")) () ")")) (argument_list "(puVar2[1])" (( "(") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }" (if "if") (parenthesized_expression "((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0))" (( "(") (binary_expression "(uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)" (parenthesized_expression "(uVar3 == 0xffffffff)" (( "(") (binary_expression "uVar3 == 0xffffffff" (identifier "uVar3") (== "==") (number_literal "0xffffffff")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar1 + 0xf30) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0xf30) != 0" (pointer_expression "*(int *)(iVar1 + 0xf30)" (* "*") (cast_expression "(int *)(iVar1 + 0xf30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xf30)" (( "(") (binary_expression "iVar1 + 0xf30" (identifier "iVar1") (+ "+") (number_literal "0xf30")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      puVar2[7] = 0xffffffff;\n      return 0;\n    }" ({ "{") (expression_statement "puVar2[7] = 0xffffffff;" (assignment_expression "puVar2[7] = 0xffffffff" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" (identifier "puVar10") (= "=") (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" (* "*") (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16ce1c)" (( "(") (binary_expression "puVar11 + 0x16ce1c" (identifier "puVar11") (+ "+") (number_literal "0x16ce1c")) () ")"))))) (; ";")) (if_statement "if (uVar3 == 0x22) break;" (if "if") (parenthesized_expression "(uVar3 == 0x22)" (( "(") (binary_expression "uVar3 == 0x22" (identifier "uVar3") (== "==") (number_literal "0x22")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;" (if "if") (parenthesized_expression "((uVar3 & 0xff) != 0xef)" (( "(") (binary_expression "(uVar3 & 0xff) != 0xef" (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")")) (!= "!=") (number_literal "0xef")) () ")")) (goto_statement "goto joined_r0x00024184;" (goto "goto") (statement_identifier "joined_r0x00024184") (; ";"))) (if_statement "if (puVar2[6] != 0) goto joined_r0x00024184;" (if "if") (parenthesized_expression "(puVar2[6] != 0)" (( "(") (binary_expression "puVar2[6] != 0" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x00024184;" (goto "goto") (statement_identifier "joined_r0x00024184") (; ";"))) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" (identifier "FUN_00023f6c") (argument_list "(puVar2,uVar3)" (( "(") (identifier "puVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x16cd20)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x16cd20)" (* "*") (cast_expression "(code **)(puVar11 + 0x16cd20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16cd20)" (( "(") (binary_expression "puVar11 + 0x16cd20" (identifier "puVar11") (+ "+") (number_literal "0x16cd20")) () ")"))))) () ")")) (argument_list "(puVar2[1])" (( "(") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;" (if "if") (parenthesized_expression "((uVar3 & 0xff) != 0xbb)" (( "(") (binary_expression "(uVar3 & 0xff) != 0xbb" (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")")) (!= "!=") (number_literal "0xbb")) () ")")) (goto_statement "goto joined_r0x0002417c;" (goto "goto") (statement_identifier "joined_r0x0002417c") (; ";"))) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" (identifier "FUN_00023f6c") (argument_list "(puVar2,uVar3)" (( "(") (identifier "puVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x16cd20)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x16cd20)" (* "*") (cast_expression "(code **)(puVar11 + 0x16cd20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16cd20)" (( "(") (binary_expression "puVar11 + 0x16cd20" (identifier "puVar11") (+ "+") (number_literal "0x16cd20")) () ")"))))) () ")")) (argument_list "(puVar2[1])" (( "(") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;" (if "if") (parenthesized_expression "((uVar3 & 0xff) != 0xbf)" (( "(") (binary_expression "(uVar3 & 0xff) != 0xbf" (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")")) (!= "!=") (number_literal "0xbf")) () ")")) (goto_statement "goto joined_r0x0002417c;" (goto "goto") (statement_identifier "joined_r0x0002417c") (; ";"))) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[6] = 1;" (assignment_expression "puVar2[6] = 1" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "uVar4 = puVar2[5];" (assignment_expression "uVar4 = puVar2[5]" (identifier "uVar4") (= "=") (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar11 + 0x16c934);" (assignment_expression "iVar1 = *(int *)(puVar11 + 0x16c934)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(puVar11 + 0x16c934)" (* "*") (cast_expression "(int *)(puVar11 + 0x16c934)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar11 + 0x16c934)" (( "(") (binary_expression "puVar11 + 0x16c934" (identifier "puVar11") (+ "+") (number_literal "0x16c934")) () ")"))))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00024300:\n  do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );" (statement_identifier "LAB_00024300") (: ":") (do_statement "do {\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  } while( true );" (do "do") (compound_statement "{\n    uVar8 = uVar3;\n    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);\n    if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }\n    if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }\n    if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }\n    uVar3 = 0;\n  }" ({ "{") (expression_statement "uVar8 = uVar3;" (assignment_expression "uVar8 = uVar3" (identifier "uVar8") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x16cd20)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x16cd20)" (* "*") (cast_expression "(code **)(puVar11 + 0x16cd20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16cd20)" (( "(") (binary_expression "puVar11 + 0x16cd20" (identifier "puVar11") (+ "+") (number_literal "0x16cd20")) () ")"))))) () ")")) (argument_list "(puVar2[1])" (( "(") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if (uVar6 == uVar3) {\n      puVar2[5] = puVar2[5] + 1;\n    }" (if "if") (parenthesized_expression "(uVar6 == uVar3)" (( "(") (binary_expression "uVar6 == uVar3" (identifier "uVar6") (== "==") (identifier "uVar3")) () ")")) (compound_statement "{\n      puVar2[5] = puVar2[5] + 1;\n    }" ({ "{") (expression_statement "puVar2[5] = puVar2[5] + 1;" (assignment_expression "puVar2[5] = puVar2[5] + 1" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "puVar2[5] + 1" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (uVar3 != 0x22) {\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }" (if "if") (parenthesized_expression "(uVar3 != 0x22)" (( "(") (binary_expression "uVar3 != 0x22" (identifier "uVar3") (!= "!=") (number_literal "0x22")) () ")")) (compound_statement "{\n      if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }\n      iVar5 = puVar2[2];\n      iVar1 = iVar1 + -1;\n      do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');\n      puVar2[7] = uVar3;\n      goto LAB_000241e8;\n    }" ({ "{") (if_statement "if (uVar7 == uVar3) {\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }\n      else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" (if "if") (parenthesized_expression "(uVar7 == uVar3)" (( "(") (binary_expression "uVar7 == uVar3" (identifier "uVar7") (== "==") (identifier "uVar3")) () ")")) (compound_statement "{\n        if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }\nLAB_000243b0:\n        iVar1 = puVar2[3];\n      }" ({ "{") (if_statement "if (uVar8 != 0x22) {\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }" (if "if") (parenthesized_expression "(uVar8 != 0x22)" (( "(") (binary_expression "uVar8 != 0x22" (identifier "uVar8") (!= "!=") (number_literal "0x22")) () ")")) (compound_statement "{\n          if (uVar6 == uVar7) goto LAB_0002434c;\n          goto LAB_000242a8;\n        }" ({ "{") (if_statement "if (uVar6 == uVar7) goto LAB_0002434c;" (if "if") (parenthesized_expression "(uVar6 == uVar7)" (( "(") (binary_expression "uVar6 == uVar7" (identifier "uVar6") (== "==") (identifier "uVar7")) () ")")) (goto_statement "goto LAB_0002434c;" (goto "goto") (statement_identifier "LAB_0002434c") (; ";"))) (goto_statement "goto LAB_000242a8;" (goto "goto") (statement_identifier "LAB_000242a8") (; ";")) (} "}"))) (labeled_statement "LAB_000243b0:\n        iVar1 = puVar2[3];" (statement_identifier "LAB_000243b0") (: ":") (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" (identifier "iVar1") (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";"))) (} "}")) (else_clause "else {\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" (else "else") (compound_statement "{\n        if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }\n        if (uVar8 != 0x22) goto LAB_0002434c;\n        iVar1 = puVar2[3];\n      }" ({ "{") (if_statement "if (uVar6 != uVar3) {\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }" (if "if") (parenthesized_expression "(uVar6 != uVar3)" (( "(") (binary_expression "uVar6 != uVar3" (identifier "uVar6") (!= "!=") (identifier "uVar3")) () ")")) (compound_statement "{\nLAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }\n          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);\n          if (uVar8 == 0x22) goto LAB_000243b0;\n          goto LAB_0002436c;\n        }" ({ "{") (labeled_statement "LAB_000242a8:\n          if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" (statement_identifier "LAB_000242a8") (: ":") (if_statement "if (uVar3 != 0xffffffff) {\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" (if "if") (parenthesized_expression "(uVar3 != 0xffffffff)" (( "(") (binary_expression "uVar3 != 0xffffffff" (identifier "uVar3") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\nLAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }\n            goto LAB_000242e8;\n          }" ({ "{") (labeled_statement "LAB_000242b0:\n            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" (statement_identifier "LAB_000242b0") (: ":") (if_statement "if ((uVar8 == 0x22) && (uVar3 != 0xd)) {\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" (if "if") (parenthesized_expression "((uVar8 == 0x22) && (uVar3 != 0xd))" (( "(") (binary_expression "(uVar8 == 0x22) && (uVar3 != 0xd)" (parenthesized_expression "(uVar8 == 0x22)" (( "(") (binary_expression "uVar8 == 0x22" (identifier "uVar8") (== "==") (number_literal "0x22")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 != 0xd)" (( "(") (binary_expression "uVar3 != 0xd" (identifier "uVar3") (!= "!=") (number_literal "0xd")) () ")"))) () ")")) (compound_statement "{\n              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);\n            }" ({ "{") (expression_statement "(**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);" (call_expression "(**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22)" (parenthesized_expression "(**(code **)(puVar11 + 0x16ccd8))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x16ccd8)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x16ccd8)" (* "*") (cast_expression "(code **)(puVar11 + 0x16ccd8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16ccd8)" (( "(") (binary_expression "puVar11 + 0x16ccd8" (identifier "puVar11") (+ "+") (number_literal "0x16ccd8")) () ")"))))) () ")")) (argument_list "(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22)" (( "(") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (, ",") (number_literal "1") (, ",") (binary_expression "iVar1 + 0x1334" (identifier "iVar1") (+ "+") (number_literal "0x1334")) (, ",") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (, ",") (number_literal "0x22") () ")"))) (; ";")) (} "}")))) (goto_statement "goto LAB_000242e8;" (goto "goto") (statement_identifier "LAB_000242e8") (; ";")) (} "}")))) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" (identifier "puVar10") (= "=") (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" (* "*") (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16ce1c)" (( "(") (binary_expression "puVar11 + 0x16ce1c" (identifier "puVar11") (+ "+") (number_literal "0x16ce1c")) () ")"))))) (; ";")) (if_statement "if (uVar8 == 0x22) goto LAB_000243b0;" (if "if") (parenthesized_expression "(uVar8 == 0x22)" (( "(") (binary_expression "uVar8 == 0x22" (identifier "uVar8") (== "==") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_000243b0;" (goto "goto") (statement_identifier "LAB_000243b0") (; ";"))) (goto_statement "goto LAB_0002436c;" (goto "goto") (statement_identifier "LAB_0002436c") (; ";")) (} "}"))) (if_statement "if (uVar8 != 0x22) goto LAB_0002434c;" (if "if") (parenthesized_expression "(uVar8 != 0x22)" (( "(") (binary_expression "uVar8 != 0x22" (identifier "uVar8") (!= "!=") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_0002434c;" (goto "goto") (statement_identifier "LAB_0002434c") (; ";"))) (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" (identifier "iVar1") (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}")))) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (do_statement "do {\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');" (do "do") (compound_statement "{\n        puVar2[3] = iVar1;\n        iVar1 = iVar1 + -1;\n      }" ({ "{") (expression_statement "puVar2[3] = iVar1;" (assignment_expression "puVar2[3] = iVar1" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(char *)(iVar5 + iVar1 + 1) != '\"')" (( "(") (binary_expression "*(char *)(iVar5 + iVar1 + 1) != '\"'" (pointer_expression "*(char *)(iVar5 + iVar1 + 1)" (* "*") (cast_expression "(char *)(iVar5 + iVar1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar1 + 1)" (( "(") (binary_expression "iVar5 + iVar1 + 1" (binary_expression "iVar5 + iVar1" (identifier "iVar5") (+ "+") (identifier "iVar1")) (+ "+") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (; ";")) (expression_statement "puVar2[7] = uVar3;" (assignment_expression "puVar2[7] = uVar3" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (goto_statement "goto LAB_000241e8;" (goto "goto") (statement_identifier "LAB_000241e8") (; ";")) (} "}"))) (if_statement "if (uVar8 != 0x22) {\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }" (if "if") (parenthesized_expression "(uVar8 != 0x22)" (( "(") (binary_expression "uVar8 != 0x22" (identifier "uVar8") (!= "!=") (number_literal "0x22")) () ")")) (compound_statement "{\n      if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }\nLAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);\n      uVar9 = uVar8;\n      goto LAB_00024300;\n    }" ({ "{") (if_statement "if (uVar7 == 0x22) {\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }\n      else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" (if "if") (parenthesized_expression "(uVar7 == 0x22)" (( "(") (binary_expression "uVar7 == 0x22" (identifier "uVar7") (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\n        if (uVar6 == 0x22) goto LAB_0002434c;\n      }" ({ "{") (if_statement "if (uVar6 == 0x22) goto LAB_0002434c;" (if "if") (parenthesized_expression "(uVar6 == 0x22)" (( "(") (binary_expression "uVar6 == 0x22" (identifier "uVar6") (== "==") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_0002434c;" (goto "goto") (statement_identifier "LAB_0002434c") (; ";"))) (} "}")) (else_clause "else {\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" (else "else") (compound_statement "{\n        if (uVar6 != 0x22) goto LAB_000242b0;\nLAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;\n        if (uVar9 == 0x22) goto LAB_000243b0;\n        if (uVar3 == 0xffffffff) break;\n      }" ({ "{") (if_statement "if (uVar6 != 0x22) goto LAB_000242b0;" (if "if") (parenthesized_expression "(uVar6 != 0x22)" (( "(") (binary_expression "uVar6 != 0x22" (identifier "uVar6") (!= "!=") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_000242b0;" (goto "goto") (statement_identifier "LAB_000242b0") (; ";"))) (labeled_statement "LAB_0002434c:\n        if (uVar8 != 0xd) goto LAB_000242a8;" (statement_identifier "LAB_0002434c") (: ":") (if_statement "if (uVar8 != 0xd) goto LAB_000242a8;" (if "if") (parenthesized_expression "(uVar8 != 0xd)" (( "(") (binary_expression "uVar8 != 0xd" (identifier "uVar8") (!= "!=") (number_literal "0xd")) () ")")) (goto_statement "goto LAB_000242a8;" (goto "goto") (statement_identifier "LAB_000242a8") (; ";")))) (if_statement "if (uVar9 == 0x22) goto LAB_000243b0;" (if "if") (parenthesized_expression "(uVar9 == 0x22)" (( "(") (binary_expression "uVar9 == 0x22" (identifier "uVar9") (== "==") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_000243b0;" (goto "goto") (statement_identifier "LAB_000243b0") (; ";"))) (if_statement "if (uVar3 == 0xffffffff) break;" (if "if") (parenthesized_expression "(uVar3 == 0xffffffff)" (( "(") (binary_expression "uVar3 == 0xffffffff" (identifier "uVar3") (== "==") (number_literal "0xffffffff")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")))) (labeled_statement "LAB_000242e8:\n      FUN_00023f6c(puVar2,uVar3);" (statement_identifier "LAB_000242e8") (: ":") (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" (identifier "FUN_00023f6c") (argument_list "(puVar2,uVar3)" (( "(") (identifier "puVar2") (, ",") (identifier "uVar3") () ")"))) (; ";"))) (expression_statement "uVar9 = uVar8;" (assignment_expression "uVar9 = uVar8" (identifier "uVar9") (= "=") (identifier "uVar8")) (; ";")) (goto_statement "goto LAB_00024300;" (goto "goto") (statement_identifier "LAB_00024300") (; ";")) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (expression_statement "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);" (assignment_expression "puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c)" (identifier "puVar10") (= "=") (pointer_expression "*(undefined4 **)(puVar11 + 0x16ce1c)" (* "*") (cast_expression "(undefined4 **)(puVar11 + 0x16ce1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16ce1c)" (( "(") (binary_expression "puVar11 + 0x16ce1c" (identifier "puVar11") (+ "+") (number_literal "0x16ce1c")) () ")"))))) (; ";")) (labeled_statement "LAB_0002436c:\n  (**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);" (statement_identifier "LAB_0002436c") (: ":") (expression_statement "(**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);" (call_expression "(**(code **)(puVar11 + 0x16ccd8))\n            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22)" (parenthesized_expression "(**(code **)(puVar11 + 0x16ccd8))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x16ccd8)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x16ccd8)" (* "*") (cast_expression "(code **)(puVar11 + 0x16ccd8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16ccd8)" (( "(") (binary_expression "puVar11 + 0x16ccd8" (identifier "puVar11") (+ "+") (number_literal "0x16ccd8")) () ")"))))) () ")")) (argument_list "(*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22)" (( "(") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (, ",") (number_literal "1") (, ",") (binary_expression "*(int *)(puVar11 + 0x16c934) + 0x1354" (pointer_expression "*(int *)(puVar11 + 0x16c934)" (* "*") (cast_expression "(int *)(puVar11 + 0x16c934)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar11 + 0x16c934)" (( "(") (binary_expression "puVar11 + 0x16c934" (identifier "puVar11") (+ "+") (number_literal "0x16c934")) () ")")))) (+ "+") (number_literal "0x1354")) (, ",") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (identifier "uVar4") (, ",") (number_literal "0x22") () ")"))) (; ";"))) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar2[7] = 0xffffffff;" (assignment_expression "puVar2[7] = 0xffffffff" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_000241e8;" (goto "goto") (statement_identifier "LAB_000241e8") (; ";")) (labeled_statement "joined_r0x0002417c:\n  if (uVar3 == 0xffffffff) goto LAB_000241d8;" (statement_identifier "joined_r0x0002417c") (: ":") (if_statement "if (uVar3 == 0xffffffff) goto LAB_000241d8;" (if "if") (parenthesized_expression "(uVar3 == 0xffffffff)" (( "(") (binary_expression "uVar3 == 0xffffffff" (identifier "uVar3") (== "==") (number_literal "0xffffffff")) () ")")) (goto_statement "goto LAB_000241d8;" (goto "goto") (statement_identifier "LAB_000241d8") (; ";")))) (labeled_statement "joined_r0x00024184:\n  if (uVar7 == uVar3) goto LAB_000241dc;" (statement_identifier "joined_r0x00024184") (: ":") (if_statement "if (uVar7 == uVar3) goto LAB_000241dc;" (if "if") (parenthesized_expression "(uVar7 == uVar3)" (( "(") (binary_expression "uVar7 == uVar3" (identifier "uVar7") (== "==") (identifier "uVar3")) () ")")) (goto_statement "goto LAB_000241dc;" (goto "goto") (statement_identifier "LAB_000241dc") (; ";")))) (if_statement "if (uVar6 == uVar3) {\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }" (if "if") (parenthesized_expression "(uVar6 == uVar3)" (( "(") (binary_expression "uVar6 == uVar3" (identifier "uVar6") (== "==") (identifier "uVar3")) () ")")) (compound_statement "{\n    iVar5 = puVar2[2];\n    goto LAB_00024240;\n  }" ({ "{") (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (goto_statement "goto LAB_00024240;" (goto "goto") (statement_identifier "LAB_00024240") (; ";")) (} "}"))) (expression_statement "FUN_00023f6c(puVar2,uVar3);" (call_expression "FUN_00023f6c(puVar2,uVar3)" (identifier "FUN_00023f6c") (argument_list "(puVar2,uVar3)" (( "(") (identifier "puVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);" (assignment_expression "uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar11 + 0x16cd20))(puVar2[1])" (parenthesized_expression "(**(code **)(puVar11 + 0x16cd20))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x16cd20)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x16cd20)" (* "*") (cast_expression "(code **)(puVar11 + 0x16cd20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x16cd20)" (( "(") (binary_expression "puVar11 + 0x16cd20" (identifier "puVar11") (+ "+") (number_literal "0x16cd20")) () ")"))))) () ")")) (argument_list "(puVar2[1])" (( "(") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (goto_statement "goto joined_r0x0002417c;" (goto "goto") (statement_identifier "joined_r0x0002417c") (; ";")) (labeled_statement "LAB_000241d8:\n  uVar3 = 0xffffffff;" (statement_identifier "LAB_000241d8") (: ":") (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";"))) (labeled_statement "LAB_000241dc:\n  iVar5 = puVar2[2];" (statement_identifier "LAB_000241dc") (: ":") (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";"))) (if_statement "if (uVar3 == uVar6) {\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 == uVar6)" (( "(") (binary_expression "uVar3 == uVar6" (identifier "uVar3") (== "==") (identifier "uVar6")) () ")")) (compound_statement "{\nLAB_00024240:\n    iVar1 = puVar2[3];\n    puVar2[5] = puVar2[5] + 1;\n    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }\n  }" ({ "{") (labeled_statement "LAB_00024240:\n    iVar1 = puVar2[3];" (statement_identifier "LAB_00024240") (: ":") (expression_statement "iVar1 = puVar2[3];" (assignment_expression "iVar1 = puVar2[3]" (identifier "iVar1") (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";"))) (expression_statement "puVar2[5] = puVar2[5] + 1;" (assignment_expression "puVar2[5] = puVar2[5] + 1" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "puVar2[5] + 1" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {\n      puVar2[3] = iVar1 + -1;\n    }" (if "if") (parenthesized_expression "((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r'))" (( "(") (binary_expression "(0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')" (parenthesized_expression "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar5 + iVar1 + -1) == '\r')" (( "(") (binary_expression "*(char *)(iVar5 + iVar1 + -1) == '\r'" (pointer_expression "*(char *)(iVar5 + iVar1 + -1)" (* "*") (cast_expression "(char *)(iVar5 + iVar1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar1 + -1)" (( "(") (binary_expression "iVar5 + iVar1 + -1" (binary_expression "iVar5 + iVar1" (identifier "iVar5") (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-1")) () ")")))) (== "==") (char_literal "'\r'" (' "'") (escape_sequence "\r") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      puVar2[3] = iVar1 + -1;\n    }" ({ "{") (expression_statement "puVar2[3] = iVar1 + -1;" (assignment_expression "puVar2[3] = iVar1 + -1" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar2[7] = uVar3;" (assignment_expression "puVar2[7] = uVar3" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (labeled_statement "LAB_000241e8:\n  if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" (statement_identifier "LAB_000241e8") (: ":") (if_statement "if (iVar5 != 0) {\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)(iVar5 + puVar2[3]) = 0;\n    iVar5 = puVar2[2];\n  }" ({ "{") (expression_statement "*(undefined1 *)(iVar5 + puVar2[3]) = 0;" (assignment_expression "*(undefined1 *)(iVar5 + puVar2[3]) = 0" (pointer_expression "*(undefined1 *)(iVar5 + puVar2[3])" (* "*") (cast_expression "(undefined1 *)(iVar5 + puVar2[3])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + puVar2[3])" (( "(") (binary_expression "iVar5 + puVar2[3]" (identifier "iVar5") (+ "+") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = puVar2[2];" (assignment_expression "iVar5 = puVar2[2]" (identifier "iVar5") (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "puVar2[6] = 1;" (assignment_expression "puVar2[6] = 1" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "1")) (; ";")) (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) 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: (identifier)))) arguments: (argument_list (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))))) (identifier) (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (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 (pointer_expression argument: (identifier)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal))))))) (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (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))))) 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: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) condition: (parenthesized_expression (true)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (labeled_statement label: (statement_identifier) (expression_statement (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 (pointer_expression argument: (identifier)) (number_literal) (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)) (pointer_expression argument: (identifier)) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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 (subscript_expression argument: (identifier) index: (number_literal)))))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (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: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))))

int MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  uint uVar3;
  undefined4 uVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  undefined4 *puVar10;
  undefined *puVar11;
  code *pcVar12;
  
  puVar11 = PTR_sqlite3_realloc64_001909e0;
  iVar1 = *(int *)(param_1 + 0xc);
  if (iVar1 + 1 < *(int *)(param_1 + 0x10)) {
    *(int *)(param_1 + 0xc) = iVar1 + 1;
    *(char *)(*(int *)(param_1 + 8) + iVar1) = (char)param_2;
    return iVar1;
  }
  iVar1 = *(int *)(param_1 + 0x10) * 2 + 100;
  *(int *)(param_1 + 0x10) = iVar1;
  puVar2 = (undefined4 *)(*(code *)puVar11)(*(int *)(param_1 + 8),param_2,iVar1 >> 0x1f);
  *(undefined4 **)(param_1 + 8) = puVar2;
  if (puVar2 != (undefined4 *)0x0) {
    iVar1 = *(int *)(param_1 + 0xc);
    *(int *)(param_1 + 0xc) = iVar1 + 1;
    *(char *)((int)puVar2 + iVar1) = (char)param_2;
    return iVar1;
  }
  puVar11 = PTR_LAB_00190954 + 0x3f24;
  FUN_00023f24();
  iVar1 = *(int *)(puVar11 + 0x16c924);
  while( true ) {
    pcVar12 = *(code **)(puVar11 + 0x16cd20);
    uVar7 = puVar2[8];
    uVar6 = puVar2[9];
    puVar2[3] = 0;
    uVar3 = (*pcVar12)(puVar2[1]);
    if ((uVar3 == 0xffffffff) || (*(int *)(iVar1 + 0xf30) != 0)) {
      puVar2[7] = 0xffffffff;
      return 0;
    }
    puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);
    if (uVar3 == 0x22) break;
    if ((uVar3 & 0xff) != 0xef) goto joined_r0x00024184;
    if (puVar2[6] != 0) goto joined_r0x00024184;
    MASKED(puVar2,uVar3);
    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
    if ((uVar3 & 0xff) != 0xbb) goto joined_r0x0002417c;
    MASKED(puVar2,uVar3);
    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
    if ((uVar3 & 0xff) != 0xbf) goto joined_r0x0002417c;
    puVar2[3] = 0;
    puVar2[6] = 1;
  }
  uVar4 = puVar2[5];
  iVar1 = *(int *)(puVar11 + 0x16c934);
  uVar3 = 0;
  uVar9 = 0;
LAB_00024300:
  do {
    uVar8 = uVar3;
    uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
    if (uVar6 == uVar3) {
      puVar2[5] = puVar2[5] + 1;
    }
    if (uVar3 != 0x22) {
      if (uVar7 == uVar3) {
        if (uVar8 != 0x22) {
          if (uVar6 == uVar7) goto LAB_0002434c;
          goto LAB_000242a8;
        }
LAB_000243b0:
        iVar1 = puVar2[3];
      }
      else {
        if (uVar6 != uVar3) {
LAB_000242a8:
          if (uVar3 != 0xffffffff) {
LAB_000242b0:
            if ((uVar8 == 0x22) && (uVar3 != 0xd)) {
              (**(code **)(puVar11 + 0x16ccd8))(*puVar10,1,iVar1 + 0x1334,*puVar2,puVar2[5],0x22);
            }
            goto LAB_000242e8;
          }
          puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);
          if (uVar8 == 0x22) goto LAB_000243b0;
          goto LAB_0002436c;
        }
        if (uVar8 != 0x22) goto LAB_0002434c;
        iVar1 = puVar2[3];
      }
      iVar5 = puVar2[2];
      iVar1 = iVar1 + -1;
      do {
        puVar2[3] = iVar1;
        iVar1 = iVar1 + -1;
      } while (*(char *)(iVar5 + iVar1 + 1) != '\"');
      puVar2[7] = uVar3;
      goto LAB_000241e8;
    }
    if (uVar8 != 0x22) {
      if (uVar7 == 0x22) {
        if (uVar6 == 0x22) goto LAB_0002434c;
      }
      else {
        if (uVar6 != 0x22) goto LAB_000242b0;
LAB_0002434c:
        if (uVar8 != 0xd) goto LAB_000242a8;
        if (uVar9 == 0x22) goto LAB_000243b0;
        if (uVar3 == 0xffffffff) break;
      }
LAB_000242e8:
      MASKED(puVar2,uVar3);
      uVar9 = uVar8;
      goto LAB_00024300;
    }
    uVar3 = 0;
  } while( true );
  puVar10 = *(undefined4 **)(puVar11 + 0x16ce1c);
LAB_0002436c:
  (**(code **)(puVar11 + 0x16ccd8))
            (*puVar10,1,*(int *)(puVar11 + 0x16c934) + 0x1354,*puVar2,uVar4,0x22);
  iVar5 = puVar2[2];
  puVar2[7] = 0xffffffff;
  goto LAB_000241e8;
joined_r0x0002417c:
  if (uVar3 == 0xffffffff) goto LAB_000241d8;
joined_r0x00024184:
  if (uVar7 == uVar3) goto LAB_000241dc;
  if (uVar6 == uVar3) {
    iVar5 = puVar2[2];
    goto LAB_00024240;
  }
  MASKED(puVar2,uVar3);
  uVar3 = (**(code **)(puVar11 + 0x16cd20))(puVar2[1]);
  goto joined_r0x0002417c;
LAB_000241d8:
  uVar3 = 0xffffffff;
LAB_000241dc:
  iVar5 = puVar2[2];
  if (uVar3 == uVar6) {
LAB_00024240:
    iVar1 = puVar2[3];
    puVar2[5] = puVar2[5] + 1;
    if ((0 < iVar1) && (*(char *)(iVar5 + iVar1 + -1) == '\r')) {
      puVar2[3] = iVar1 + -1;
    }
  }
  puVar2[7] = uVar3;
LAB_000241e8:
  if (iVar5 != 0) {
    *(undefined1 *)(iVar5 + puVar2[3]) = 0;
    iVar5 = puVar2[2];
  }
  puVar2[6] = 1;
  return iVar5;
}

