
reg_errcode_t
duplicate_node_closure
          (re_dfa_t *dfa,Idx top_org_node,Idx top_clone_node,Idx root_node,uint init_constraint)

{
  Idx *pIVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  undefined3 extraout_var_01;
  undefined3 extraout_var_02;
  undefined3 extraout_var_03;
  undefined3 extraout_var_04;
  re_token_t *prVar6;
  _Bool _Var8;
  reg_errcode_t rVar7;
  re_token_t *prVar9;
  re_node_set *prVar10;
  re_node_set *set;
  Idx IVar11;
  reg_errcode_t rVar12;
  Idx *pIVar13;
  size_t sVar14;
  int elem;
  
LAB_00019a18:
  do {
    prVar9 = dfa->nodes;
    prVar10 = dfa->edests;
    prVar6 = prVar9 + top_org_node;
    cVar2 = prVar6->field_0x4;
    iVar3 = top_org_node;
    iVar4 = top_clone_node;
    while (cVar2 != '\x04') {
      if (prVar10[iVar3].nelem == 0) {
        dfa->nexts[iVar4] = dfa->nexts[iVar3];
        return _REG_NOERROR;
      }
      elem = *prVar10[iVar3].elems;
      set = prVar10 + iVar4;
      if (prVar10[iVar3].nelem != 1) {
        sVar14 = dfa->nodes_len;
        set->nelem = 0;
        IVar11 = sVar14 - 1;
        prVar6 = prVar9 + IVar11;
        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;
        pIVar13 = dfa->org_indices + sVar14;
        iVar5 = sVar14 * 8 - (int)prVar6;
        goto LAB_00019ad4;
      }
      set->nelem = 0;
      if ((iVar3 == root_node) && (iVar3 != iVar4)) {
        _Var8 = re_node_set_insert(set,elem);
        if (CONCAT31(extraout_var_04,_Var8) == 0) {
          return _REG_ESPACE;
        }
        return _REG_NOERROR;
      }
      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;
      IVar11 = duplicate_node(dfa,elem,init_constraint);
      if (IVar11 == -1) {
        return _REG_ESPACE;
      }
      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);
      if (CONCAT31(extraout_var_01,_Var8) == 0) {
        return _REG_ESPACE;
      }
      prVar9 = dfa->nodes;
      prVar10 = dfa->edests;
      prVar6 = prVar9 + elem;
      iVar3 = elem;
      iVar4 = IVar11;
      cVar2 = prVar6->field_0x4;
    }
    top_org_node = dfa->nexts[iVar3];
    prVar10[iVar4].nelem = 0;
    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);
    if (top_clone_node == -1) {
      return _REG_ESPACE;
    }
    prVar10 = dfa->edests;
    dfa->nexts[iVar4] = dfa->nexts[iVar3];
    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);
    if (CONCAT31(extraout_var_02,_Var8) == 0) {
      return _REG_ESPACE;
    }
  } while( true );
  while( true ) {
    prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);
    IVar11 = IVar11 + -1;
    if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;
LAB_00019ad4:
    pIVar1 = pIVar13 + -1;
    pIVar13 = pIVar13 + -1;
    if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {
      _Var8 = re_node_set_insert(set,IVar11);
      rVar12 = _REG_ESPACE;
      rVar7 = CONCAT31(extraout_var,_Var8);
      goto joined_r0x00019afc;
    }
  }
LAB_00019c88:
  IVar11 = duplicate_node(dfa,elem,init_constraint);
  if ((IVar11 == -1) ||
     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0))
  {
    return _REG_ESPACE;
  }
  rVar12 = duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint);
  rVar7 = rVar12;
joined_r0x00019afc:
  if (rVar7 == _REG_NOERROR) {
    return rVar12;
  }
  top_org_node = dfa->edests[iVar3].elems[1];
  top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);
  if (top_clone_node == -1) {
    return _REG_ESPACE;
  }
  _Var8 = re_node_set_insert(dfa->edests + iVar4,top_clone_node);
  if (CONCAT31(extraout_var_00,_Var8) == 0) {
    return _REG_ESPACE;
  }
  goto LAB_00019a18;
}



int FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  
LAB_00019a18:
  do {
    iVar5 = *param_1;
    iVar6 = param_1[5];
    iVar4 = iVar5 + param_2 * 8;
    cVar2 = *(char *)(iVar4 + 4);
    iVar3 = param_2;
    iVar9 = param_3;
    while (cVar2 != '\x04') {
      iVar8 = iVar6 + iVar3 * 0xc;
      iVar7 = *(int *)(iVar8 + 4);
      if (iVar7 == 0) {
        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);
        return 0;
      }
      iVar10 = iVar9 * 0xc;
      iVar8 = **(int **)(iVar8 + 8);
      iVar6 = iVar6 + iVar10;
      if (iVar7 != 1) {
        iVar9 = param_1[2];
        *(undefined4 *)(iVar6 + 4) = 0;
        iVar4 = iVar9 + -1;
        iVar6 = iVar5 + iVar4 * 8;
        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;
        iVar7 = param_1[4] + iVar9 * 4;
        iVar5 = (iVar5 + iVar9 * 8) - iVar6;
        goto LAB_00019ad4;
      }
      *(undefined4 *)(iVar6 + 4) = 0;
      if ((iVar3 == param_4) && (iVar3 != iVar9)) {
        iVar5 = FUN_000184c8(iVar6,iVar8);
        if (iVar5 == 0) {
          return 0xc;
        }
        return 0;
      }
      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;
      iVar9 = FUN_000198ec(param_1,iVar8,param_5);
      if (iVar9 == -1) {
        return 0xc;
      }
      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);
      if (iVar5 == 0) {
        return 0xc;
      }
      iVar5 = *param_1;
      iVar6 = param_1[5];
      iVar4 = iVar5 + iVar8 * 8;
      iVar3 = iVar8;
      cVar2 = *(char *)(iVar4 + 4);
    }
    param_2 = *(int *)(param_1[3] + iVar3 * 4);
    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;
    param_3 = FUN_000198ec(param_1,param_2,param_5);
    if (param_3 == -1) {
      return 0xc;
    }
    iVar5 = param_1[5];
    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);
    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);
    if (iVar5 == 0) {
      return 0xc;
    }
  } while( true );
  while( true ) {
    iVar6 = iVar6 + iVar5 + -0x10;
    iVar4 = iVar4 + -1;
    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;
LAB_00019ad4:
    piVar1 = (int *)(iVar7 + -4);
    iVar7 = iVar7 + -4;
    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {
      iVar6 = FUN_000184c8();
      iVar5 = 0xc;
      goto joined_r0x00019afc;
    }
  }
LAB_00019c88:
  iVar5 = FUN_000198ec(param_1,iVar8,param_5);
  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {
    return 0xc;
  }
  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);
  iVar6 = iVar5;
joined_r0x00019afc:
  if (iVar6 == 0) {
    return iVar5;
  }
  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);
  param_3 = FUN_000198ec(param_1,param_2,param_5);
  if (param_3 == -1) {
    return 0xc;
  }
  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);
  if (iVar5 == 0) {
    return 0xc;
  }
  goto LAB_00019a18;
}


lui gp,0x3
addiu gp,gp,-0x58e0
addu gp,gp,t9
addiu sp,sp,-0x50
lw v0,-0x7ee8(gp)
sw s3,0x34(sp)
sw s2,0x30(sp)
sw s1,0x2c(sp)
sw s8,0x48(sp)
or s8,a2,zero
sw s6,0x40(sp)
or s6,a0,zero
sw s4,0x38(sp)
or s4,a1,zero
sw gp,0x18(sp)
sw ra,0x4c(sp)
sw s7,0x44(sp)
sw s5,0x3c(sp)
sw s0,0x28(sp)
sw a3,0x5c(sp)
sw v0,0x24(sp)
lw s3,-0x7ee8(gp)
lw s2,-0x7ee8(gp)
lw s1,0x60(sp)
addiu s3,s3,-0x6714
addiu s2,s2,-0x7b38
lw v1,0x0(s6)
sll v0,s4,0x3
li a1,0x4
lw a0,0x14(s6)
addu v0,v1,v0
lbu a2,0x4(v0)
beq a2,a1,0x00019c08
_or s0,s8,zero
sll s7,s4,0x1
addu s7,s7,s4
sll s7,s7,0x2
addu a2,a0,s7
lw a1,0x4(a2)
beq a1,zero,0x00019cf0
_sll s0,s8,0x1
lw a3,0x8(a2)
li a2,0x1
addu s0,s0,s8
sll s0,s0,0x2
lw s5,0x0(a3)
beq a1,a2,0x00019b88
_addu a0,a0,s0
lw a3,0x8(s6)
sw zero,0x4(a0)
addiu a1,a3,-0x1
sll v0,a1,0x3
addu v0,v1,v0
lw a2,0x4(v0)
andi a2,a2,0x2000
beq a2,zero,0x00019c88
_nop
blez a1,0x00019c88
_sll t0,a3,0x3
lw a2,0x10(s6)
sll a3,a3,0x2
addu v1,v1,t0
addu a2,a2,a3
subu v1,v1,v0
b 0x00019ad4
_addiu v1,v1,-0x10
addu v0,v0,v1
lw a3,0x4(v0)
andi a3,a3,0x2000
beq a3,zero,0x00019c88
_addiu a1,a1,-0x1
beq a1,zero,0x00019c88
_nop
lw a3,-0x4(a2)
bne a3,s5,0x00019ab8
_addiu a2,a2,-0x4
lw a3,0x4(v0)
ext a3,a3,0xe,0xa
bne s1,a3,0x00019abc
_addu v0,v0,v1
or t9,s2,zero
bal 0x000184c8
_nop
beq v0,zero,0x00019b54
_li a1,0xc
lw v0,0x14(s6)
or a2,s1,zero
or a0,s6,zero
or t9,s3,zero
addu s7,v0,s7
lw v0,0x8(s7)
lw s4,0x4(v0)
bal 0x000198ec
_or a1,s4,zero
li v1,-0x1
beq v0,v1,0x00019b50
_or s8,v0,zero
lw a0,0x14(s6)
or a1,v0,zero
or t9,s2,zero
bal 0x000184c8
_addu a0,a0,s0
bne v0,zero,0x00019a18
_lw gp,0x18(sp)
li a1,0xc
lw ra,0x4c(sp)
or v0,a1,zero
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
lw v1,0x5c(sp)
bne s4,v1,0x00019b9c
_sw zero,0x4(a0)
bne s4,s8,0x00019d10
_lw t9,-0x7ee8(gp)
lw v0,0x4(v0)
or a1,s5,zero
or a0,s6,zero
or t9,s3,zero
ext v0,v0,0xe,0xa
or s1,s1,v0
bal 0x000198ec
_or a2,s1,zero
li v1,-0x1
beq v0,v1,0x00019b50
_or s8,v0,zero
lw a0,0x14(s6)
or a1,v0,zero
or t9,s2,zero
bal 0x000184c8
_addu a0,a0,s0
beq v0,zero,0x00019b50
_lw gp,0x18(sp)
or s4,s5,zero
lw v1,0x0(s6)
sll v0,s4,0x3
lw a0,0x14(s6)
li a1,0x4
addu v0,v1,v0
lbu a2,0x4(v0)
bne a2,a1,0x00019a38
_or s0,s8,zero
lw v0,0xc(s6)
sll a2,s8,0x1
sll s5,s4,0x2
addu a2,a2,s8
addu v0,v0,s5
sll s7,a2,0x2
or t9,s3,zero
lw s4,0x0(v0)
addu v0,a0,s7
or a2,s1,zero
or a0,s6,zero
sw zero,0x4(v0)
bal 0x000198ec
_or a1,s4,zero
li a0,-0x1
beq v0,a0,0x00019b50
_or s8,v0,zero
lw v0,0xc(s6)
sll s0,s0,0x2
lw a0,0x14(s6)
or a1,s8,zero
or t9,s2,zero
addu v1,v0,s5
addu s0,v0,s0
addu a0,a0,s7
lw v0,0x0(v1)
bal 0x000184c8
_sw v0,0x0(s0)
bne v0,zero,0x00019a18
_lw gp,0x18(sp)
b 0x00019b54
_li a1,0xc
or a2,s1,zero
or a1,s5,zero
or t9,s3,zero
bal 0x000198ec
_or a0,s6,zero
li v1,-0x1
beq v0,v1,0x00019b50
_or s8,v0,zero
lw a0,0x14(s6)
or a1,s8,zero
or t9,s2,zero
bal 0x000184c8
_addu a0,a0,s0
beq v0,zero,0x00019b50
_lw v0,0x24(sp)
or a1,s5,zero
lw a3,0x5c(sp)
or a2,s8,zero
sw s1,0x10(sp)
addiu t9,v0,-0x6650
bal 0x000199b0
_or a0,s6,zero
beq v0,zero,0x00019b04
_or a1,v0,zero
b 0x00019b58
_lw ra,0x4c(sp)
lw v1,0xc(s6)
sll v0,s4,0x2
sll a2,s8,0x2
addu v0,v1,v0
addu a2,v1,a2
lw v0,0x0(v0)
b 0x00019b54
_sw v0,0x0(a2)
addiu t9,t9,-0x7b38
bal 0x000184c8
_or a1,s5,zero
bne v0,zero,0x00019b54
_or a1,zero,zero
b 0x00019b54
_li a1,0xc
(translation_unit "int FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}\n\n" (function_definition "int FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}" primitive_type (function_declarator "FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4,uint param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (labeled_statement "LAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );" do (compound_statement "{\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar5 + param_2 * 8;" (assignment_expression "iVar4 = iVar5 + param_2 * 8" identifier = (binary_expression "iVar5 + param_2 * 8" identifier + (binary_expression "param_2 * 8" identifier * number_literal))) ;) (expression_statement "cVar2 = *(char *)(iVar4 + 4);" (assignment_expression "cVar2 = *(char *)(iVar4 + 4)" identifier = (pointer_expression "*(char *)(iVar4 + 4)" * (cast_expression "(char *)(iVar4 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = param_2;" (assignment_expression "iVar3 = param_2" identifier = identifier) ;) (expression_statement "iVar9 = param_3;" (assignment_expression "iVar9 = param_3" identifier = identifier) ;) (while_statement "while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }" while (parenthesized_expression "(cVar2 != '\x04')" ( (binary_expression "cVar2 != '\x04'" identifier != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }" { (expression_statement "iVar8 = iVar6 + iVar3 * 0xc;" (assignment_expression "iVar8 = iVar6 + iVar3 * 0xc" identifier = (binary_expression "iVar6 + iVar3 * 0xc" identifier + (binary_expression "iVar3 * 0xc" identifier * number_literal))) ;) (expression_statement "iVar7 = *(int *)(iVar8 + 4);" (assignment_expression "iVar7 = *(int *)(iVar8 + 4)" identifier = (pointer_expression "*(int *)(iVar8 + 4)" * (cast_expression "(int *)(iVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 4)" ( (binary_expression "iVar8 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }" { (expression_statement "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);" (assignment_expression "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4)" (pointer_expression "*(undefined4 *)(param_1[3] + iVar9 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar9 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar9 * 4)" ( (binary_expression "param_1[3] + iVar9 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar9 * 4" identifier * number_literal)) )))) = (pointer_expression "*(undefined4 *)(param_1[3] + iVar3 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar3 * 4)" ( (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = iVar9 * 0xc;" (assignment_expression "iVar10 = iVar9 * 0xc" identifier = (binary_expression "iVar9 * 0xc" identifier * number_literal)) ;) (expression_statement "iVar8 = **(int **)(iVar8 + 8);" (assignment_expression "iVar8 = **(int **)(iVar8 + 8)" identifier = (pointer_expression "**(int **)(iVar8 + 8)" * (pointer_expression "*(int **)(iVar8 + 8)" * (cast_expression "(int **)(iVar8 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))))) ;) (expression_statement "iVar6 = iVar6 + iVar10;" (assignment_expression "iVar6 = iVar6 + iVar10" identifier = (binary_expression "iVar6 + iVar10" identifier + identifier)) ;) (if_statement "if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }" if (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) (compound_statement "{\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }" { (expression_statement "iVar9 = param_1[2];" (assignment_expression "iVar9 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = iVar9 + -1;" (assignment_expression "iVar4 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar5 + iVar4 * 8;" (assignment_expression "iVar6 = iVar5 + iVar4 * 8" identifier = (binary_expression "iVar5 + iVar4 * 8" identifier + (binary_expression "iVar4 * 8" identifier * number_literal))) ;) (if_statement "if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;" if (parenthesized_expression "(((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1))" ( (binary_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)" (parenthesized_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 4) & 0x2000)" ( (binary_expression "*(uint *)(iVar6 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar6 + 4)" * (cast_expression "(uint *)(iVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) ))) )) (goto_statement "goto LAB_00019c88;" goto statement_identifier ;)) (expression_statement "iVar7 = param_1[4] + iVar9 * 4;" (assignment_expression "iVar7 = param_1[4] + iVar9 * 4" identifier = (binary_expression "param_1[4] + iVar9 * 4" (subscript_expression "param_1[4]" identifier [ number_literal ]) + (binary_expression "iVar9 * 4" identifier * number_literal))) ;) (expression_statement "iVar5 = (iVar5 + iVar9 * 8) - iVar6;" (assignment_expression "iVar5 = (iVar5 + iVar9 * 8) - iVar6" identifier = (binary_expression "(iVar5 + iVar9 * 8) - iVar6" (parenthesized_expression "(iVar5 + iVar9 * 8)" ( (binary_expression "iVar5 + iVar9 * 8" identifier + (binary_expression "iVar9 * 8" identifier * number_literal)) )) - identifier)) ;) (goto_statement "goto LAB_00019ad4;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(iVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }" if (parenthesized_expression "((iVar3 == param_4) && (iVar3 != iVar9))" ( (binary_expression "(iVar3 == param_4) && (iVar3 != iVar9)" (parenthesized_expression "(iVar3 == param_4)" ( (binary_expression "iVar3 == param_4" identifier == identifier) )) && (parenthesized_expression "(iVar3 != iVar9)" ( (binary_expression "iVar3 != iVar9" identifier != identifier) ))) )) (compound_statement "{\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }" { (expression_statement "iVar5 = FUN_000184c8(iVar6,iVar8);" (assignment_expression "iVar5 = FUN_000184c8(iVar6,iVar8)" identifier = (call_expression "FUN_000184c8(iVar6,iVar8)" identifier (argument_list "(iVar6,iVar8)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n          return 0xc;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0xc;\n        }" { (return_statement "return 0xc;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;" (assignment_expression "param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" identifier = (binary_expression "param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" identifier | (binary_expression "(uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" (call_expression "(uint)(*(int *)(iVar4 + 4) << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar4 + 4) << 8)" ( (binary_expression "*(int *)(iVar4 + 4) << 8" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) << number_literal) ))) >> number_literal))) ;) (expression_statement "iVar9 = FUN_000198ec(param_1,iVar8,param_5);" (assignment_expression "iVar9 = FUN_000198ec(param_1,iVar8,param_5)" identifier = (call_expression "FUN_000198ec(param_1,iVar8,param_5)" identifier (argument_list "(param_1,iVar8,param_5)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar9 == -1) {\n        return 0xc;\n      }" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (compound_statement "{\n        return 0xc;\n      }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);" (assignment_expression "iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9)" identifier = (call_expression "FUN_000184c8(param_1[5] + iVar10,iVar9)" identifier (argument_list "(param_1[5] + iVar10,iVar9)" ( (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" identifier [ number_literal ]) + identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        return 0xc;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0xc;\n      }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar5 + iVar8 * 8;" (assignment_expression "iVar4 = iVar5 + iVar8 * 8" identifier = (binary_expression "iVar5 + iVar8 * 8" identifier + (binary_expression "iVar8 * 8" identifier * number_literal))) ;) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) (expression_statement "cVar2 = *(char *)(iVar4 + 4);" (assignment_expression "cVar2 = *(char *)(iVar4 + 4)" identifier = (pointer_expression "*(char *)(iVar4 + 4)" * (cast_expression "(char *)(iVar4 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "param_2 = *(int *)(param_1[3] + iVar3 * 4);" (assignment_expression "param_2 = *(int *)(param_1[3] + iVar3 * 4)" identifier = (pointer_expression "*(int *)(param_1[3] + iVar3 * 4)" * (cast_expression "(int *)(param_1[3] + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar3 * 4)" ( (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4)" * (cast_expression "(undefined4 *)(iVar6 + iVar9 * 0xc + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 0xc + 4)" ( (binary_expression "iVar6 + iVar9 * 0xc + 4" (binary_expression "iVar6 + iVar9 * 0xc" identifier + (binary_expression "iVar9 * 0xc" identifier * number_literal)) + number_literal) )))) = number_literal) ;) (expression_statement "param_3 = FUN_000198ec(param_1,param_2,param_5);" (assignment_expression "param_3 = FUN_000198ec(param_1,param_2,param_5)" identifier = (call_expression "FUN_000198ec(param_1,param_2,param_5)" identifier (argument_list "(param_1,param_2,param_5)" ( identifier , identifier , identifier )))) ;) (if_statement "if (param_3 == -1) {\n      return 0xc;\n    }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = param_1[5];" (assignment_expression "iVar5 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);" (assignment_expression "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4)" (pointer_expression "*(undefined4 *)(param_1[3] + iVar9 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar9 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar9 * 4)" ( (binary_expression "param_1[3] + iVar9 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar9 * 4" identifier * number_literal)) )))) = (pointer_expression "*(undefined4 *)(param_1[3] + iVar3 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar3 * 4)" ( (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);" (assignment_expression "iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3)" identifier = (call_expression "FUN_000184c8(iVar5 + iVar9 * 0xc,param_3)" identifier (argument_list "(iVar5 + iVar9 * 0xc,param_3)" ( (binary_expression "iVar5 + iVar9 * 0xc" identifier + (binary_expression "iVar9 * 0xc" identifier * number_literal)) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) (while_statement "while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }" { (expression_statement "iVar6 = iVar6 + iVar5 + -0x10;" (assignment_expression "iVar6 = iVar6 + iVar5 + -0x10" identifier = (binary_expression "iVar6 + iVar5 + -0x10" (binary_expression "iVar6 + iVar5" identifier + identifier) + number_literal)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;" if (parenthesized_expression "(((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0))" ( (binary_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)" (parenthesized_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 4) & 0x2000)" ( (binary_expression "*(uint *)(iVar6 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar6 + 4)" * (cast_expression "(uint *)(iVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) ))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);" statement_identifier : (expression_statement "piVar1 = (int *)(iVar7 + -4);" (assignment_expression "piVar1 = (int *)(iVar7 + -4)" identifier = (cast_expression "(int *)(iVar7 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -4)" ( (binary_expression "iVar7 + -4" identifier + number_literal) )))) ;)) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) (if_statement "if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }" if (parenthesized_expression "((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16))" ( (binary_expression "(*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)" (parenthesized_expression "(*piVar1 == iVar8)" ( (binary_expression "*piVar1 == iVar8" (pointer_expression "*piVar1" * identifier) == identifier) )) && (parenthesized_expression "(param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)" ( (binary_expression "param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16" identifier == (binary_expression "(uint)(*(int *)(iVar6 + 4) << 8) >> 0x16" (call_expression "(uint)(*(int *)(iVar6 + 4) << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar6 + 4) << 8)" ( (binary_expression "*(int *)(iVar6 + 4) << 8" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) << number_literal) ))) >> number_literal)) ))) )) (compound_statement "{\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }" { (expression_statement "iVar6 = FUN_000184c8();" (assignment_expression "iVar6 = FUN_000184c8()" identifier = (call_expression "FUN_000184c8()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = 0xc;" (assignment_expression "iVar5 = 0xc" identifier = number_literal) ;) (goto_statement "goto joined_r0x00019afc;" goto statement_identifier ;) })) })) (labeled_statement "LAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);" statement_identifier : (expression_statement "iVar5 = FUN_000198ec(param_1,iVar8,param_5);" (assignment_expression "iVar5 = FUN_000198ec(param_1,iVar8,param_5)" identifier = (call_expression "FUN_000198ec(param_1,iVar8,param_5)" identifier (argument_list "(param_1,iVar8,param_5)" ( identifier , identifier , identifier )))) ;)) (if_statement "if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }" if (parenthesized_expression "((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0))" ( (binary_expression "(iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)" (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) || (parenthesized_expression "(iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)" ( (comma_expression "iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0" (assignment_expression "iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5)" identifier = (call_expression "FUN_000184c8(param_1[5] + iVar10,iVar5)" identifier (argument_list "(param_1[5] + iVar10,iVar5)" ( (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" identifier [ number_literal ]) + identifier) , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0xc;\n  }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);" (assignment_expression "iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5)" identifier = (call_expression "FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5)" identifier (argument_list "(param_1,iVar8,iVar5,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) (labeled_statement "joined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iVar6 == 0) {\n    return iVar5;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);" (assignment_expression "param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" * (cast_expression "(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" ( (binary_expression "*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4" (pointer_expression "*(int *)(param_1[5] + iVar3 * 0xc + 8)" * (cast_expression "(int *)(param_1[5] + iVar3 * 0xc + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[5] + iVar3 * 0xc + 8)" ( (binary_expression "param_1[5] + iVar3 * 0xc + 8" (binary_expression "param_1[5] + iVar3 * 0xc" (subscript_expression "param_1[5]" identifier [ number_literal ]) + (binary_expression "iVar3 * 0xc" identifier * number_literal)) + number_literal) )))) + number_literal) ))))) ;) (expression_statement "param_3 = FUN_000198ec(param_1,param_2,param_5);" (assignment_expression "param_3 = FUN_000198ec(param_1,param_2,param_5)" identifier = (call_expression "FUN_000198ec(param_1,param_2,param_5)" identifier (argument_list "(param_1,param_2,param_5)" ( identifier , identifier , identifier )))) ;) (if_statement "if (param_3 == -1) {\n    return 0xc;\n  }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n    return 0xc;\n  }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);" (assignment_expression "iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3)" identifier = (call_expression "FUN_000184c8(param_1[5] + iVar10,param_3)" identifier (argument_list "(param_1[5] + iVar10,param_3)" ( (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" identifier [ number_literal ]) + identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n    return 0xc;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0xc;\n  }" { (return_statement "return 0xc;" return number_literal ;) })) (goto_statement "goto LAB_00019a18;" goto statement_identifier ;) })))
(translation_unit "reg_errcode_t\nduplicate_node_closure\n          (re_dfa_t *dfa,Idx top_org_node,Idx top_clone_node,Idx root_node,uint init_constraint)\n\n{\n  Idx *pIVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  undefined3 extraout_var_02;\n  undefined3 extraout_var_03;\n  undefined3 extraout_var_04;\n  re_token_t *prVar6;\n  _Bool _Var8;\n  reg_errcode_t rVar7;\n  re_token_t *prVar9;\n  re_node_set *prVar10;\n  re_node_set *set;\n  Idx IVar11;\n  reg_errcode_t rVar12;\n  Idx *pIVar13;\n  size_t sVar14;\n  int elem;\n  \nLAB_00019a18:\n  do {\n    prVar9 = dfa->nodes;\n    prVar10 = dfa->edests;\n    prVar6 = prVar9 + top_org_node;\n    cVar2 = prVar6->field_0x4;\n    iVar3 = top_org_node;\n    iVar4 = top_clone_node;\n    while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }\n    top_org_node = dfa->nexts[iVar3];\n    prVar10[iVar4].nelem = 0;\n    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n    if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }\n    prVar10 = dfa->edests;\n    dfa->nexts[iVar4] = dfa->nexts[iVar3];\n    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);\n    if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }\n  } while( true );\n  while( true ) {\n    prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);\n    IVar11 = IVar11 + -1;\n    if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;\nLAB_00019ad4:\n    pIVar1 = pIVar13 + -1;\n    pIVar13 = pIVar13 + -1;\n    if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  IVar11 = duplicate_node(dfa,elem,init_constraint);\n  if ((IVar11 == -1) ||\n     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0))\n  {\n    return _REG_ESPACE;\n  }\n  rVar12 = duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint);\n  rVar7 = rVar12;\njoined_r0x00019afc:\n  if (rVar7 == _REG_NOERROR) {\n    return rVar12;\n  }\n  top_org_node = dfa->edests[iVar3].elems[1];\n  top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n  if (top_clone_node == -1) {\n    return _REG_ESPACE;\n  }\n  _Var8 = re_node_set_insert(dfa->edests + iVar4,top_clone_node);\n  if (CONCAT31(extraout_var_00,_Var8) == 0) {\n    return _REG_ESPACE;\n  }\n  goto LAB_00019a18;\n}\n\n" (function_definition "reg_errcode_t\nduplicate_node_closure\n          (re_dfa_t *dfa,Idx top_org_node,Idx top_clone_node,Idx root_node,uint init_constraint)\n\n{\n  Idx *pIVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  undefined3 extraout_var_02;\n  undefined3 extraout_var_03;\n  undefined3 extraout_var_04;\n  re_token_t *prVar6;\n  _Bool _Var8;\n  reg_errcode_t rVar7;\n  re_token_t *prVar9;\n  re_node_set *prVar10;\n  re_node_set *set;\n  Idx IVar11;\n  reg_errcode_t rVar12;\n  Idx *pIVar13;\n  size_t sVar14;\n  int elem;\n  \nLAB_00019a18:\n  do {\n    prVar9 = dfa->nodes;\n    prVar10 = dfa->edests;\n    prVar6 = prVar9 + top_org_node;\n    cVar2 = prVar6->field_0x4;\n    iVar3 = top_org_node;\n    iVar4 = top_clone_node;\n    while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }\n    top_org_node = dfa->nexts[iVar3];\n    prVar10[iVar4].nelem = 0;\n    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n    if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }\n    prVar10 = dfa->edests;\n    dfa->nexts[iVar4] = dfa->nexts[iVar3];\n    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);\n    if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }\n  } while( true );\n  while( true ) {\n    prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);\n    IVar11 = IVar11 + -1;\n    if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;\nLAB_00019ad4:\n    pIVar1 = pIVar13 + -1;\n    pIVar13 = pIVar13 + -1;\n    if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  IVar11 = duplicate_node(dfa,elem,init_constraint);\n  if ((IVar11 == -1) ||\n     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0))\n  {\n    return _REG_ESPACE;\n  }\n  rVar12 = duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint);\n  rVar7 = rVar12;\njoined_r0x00019afc:\n  if (rVar7 == _REG_NOERROR) {\n    return rVar12;\n  }\n  top_org_node = dfa->edests[iVar3].elems[1];\n  top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n  if (top_clone_node == -1) {\n    return _REG_ESPACE;\n  }\n  _Var8 = re_node_set_insert(dfa->edests + iVar4,top_clone_node);\n  if (CONCAT31(extraout_var_00,_Var8) == 0) {\n    return _REG_ESPACE;\n  }\n  goto LAB_00019a18;\n}" type_identifier (function_declarator "duplicate_node_closure\n          (re_dfa_t *dfa,Idx top_org_node,Idx top_clone_node,Idx root_node,uint init_constraint)" identifier (parameter_list "(re_dfa_t *dfa,Idx top_org_node,Idx top_clone_node,Idx root_node,uint init_constraint)" ( (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) , (parameter_declaration "Idx top_org_node" type_identifier identifier) , (parameter_declaration "Idx top_clone_node" type_identifier identifier) , (parameter_declaration "Idx root_node" type_identifier identifier) , (parameter_declaration "uint init_constraint" type_identifier identifier) ))) (compound_statement "{\n  Idx *pIVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  undefined3 extraout_var_01;\n  undefined3 extraout_var_02;\n  undefined3 extraout_var_03;\n  undefined3 extraout_var_04;\n  re_token_t *prVar6;\n  _Bool _Var8;\n  reg_errcode_t rVar7;\n  re_token_t *prVar9;\n  re_node_set *prVar10;\n  re_node_set *set;\n  Idx IVar11;\n  reg_errcode_t rVar12;\n  Idx *pIVar13;\n  size_t sVar14;\n  int elem;\n  \nLAB_00019a18:\n  do {\n    prVar9 = dfa->nodes;\n    prVar10 = dfa->edests;\n    prVar6 = prVar9 + top_org_node;\n    cVar2 = prVar6->field_0x4;\n    iVar3 = top_org_node;\n    iVar4 = top_clone_node;\n    while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }\n    top_org_node = dfa->nexts[iVar3];\n    prVar10[iVar4].nelem = 0;\n    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n    if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }\n    prVar10 = dfa->edests;\n    dfa->nexts[iVar4] = dfa->nexts[iVar3];\n    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);\n    if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }\n  } while( true );\n  while( true ) {\n    prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);\n    IVar11 = IVar11 + -1;\n    if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;\nLAB_00019ad4:\n    pIVar1 = pIVar13 + -1;\n    pIVar13 = pIVar13 + -1;\n    if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  IVar11 = duplicate_node(dfa,elem,init_constraint);\n  if ((IVar11 == -1) ||\n     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0))\n  {\n    return _REG_ESPACE;\n  }\n  rVar12 = duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint);\n  rVar7 = rVar12;\njoined_r0x00019afc:\n  if (rVar7 == _REG_NOERROR) {\n    return rVar12;\n  }\n  top_org_node = dfa->edests[iVar3].elems[1];\n  top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n  if (top_clone_node == -1) {\n    return _REG_ESPACE;\n  }\n  _Var8 = re_node_set_insert(dfa->edests + iVar4,top_clone_node);\n  if (CONCAT31(extraout_var_00,_Var8) == 0) {\n    return _REG_ESPACE;\n  }\n  goto LAB_00019a18;\n}" { (declaration "Idx *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "undefined3 extraout_var_01;" type_identifier identifier ;) (declaration "undefined3 extraout_var_02;" type_identifier identifier ;) (declaration "undefined3 extraout_var_03;" type_identifier identifier ;) (declaration "undefined3 extraout_var_04;" type_identifier identifier ;) (declaration "re_token_t *prVar6;" type_identifier (pointer_declarator "*prVar6" * identifier) ;) (declaration "_Bool _Var8;" type_identifier identifier ;) (declaration "reg_errcode_t rVar7;" type_identifier identifier ;) (declaration "re_token_t *prVar9;" type_identifier (pointer_declarator "*prVar9" * identifier) ;) (declaration "re_node_set *prVar10;" type_identifier (pointer_declarator "*prVar10" * identifier) ;) (declaration "re_node_set *set;" type_identifier (pointer_declarator "*set" * identifier) ;) (declaration "Idx IVar11;" type_identifier identifier ;) (declaration "reg_errcode_t rVar12;" type_identifier identifier ;) (declaration "Idx *pIVar13;" type_identifier (pointer_declarator "*pIVar13" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "int elem;" primitive_type identifier ;) (labeled_statement "LAB_00019a18:\n  do {\n    prVar9 = dfa->nodes;\n    prVar10 = dfa->edests;\n    prVar6 = prVar9 + top_org_node;\n    cVar2 = prVar6->field_0x4;\n    iVar3 = top_org_node;\n    iVar4 = top_clone_node;\n    while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }\n    top_org_node = dfa->nexts[iVar3];\n    prVar10[iVar4].nelem = 0;\n    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n    if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }\n    prVar10 = dfa->edests;\n    dfa->nexts[iVar4] = dfa->nexts[iVar3];\n    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);\n    if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    prVar9 = dfa->nodes;\n    prVar10 = dfa->edests;\n    prVar6 = prVar9 + top_org_node;\n    cVar2 = prVar6->field_0x4;\n    iVar3 = top_org_node;\n    iVar4 = top_clone_node;\n    while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }\n    top_org_node = dfa->nexts[iVar3];\n    prVar10[iVar4].nelem = 0;\n    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n    if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }\n    prVar10 = dfa->edests;\n    dfa->nexts[iVar4] = dfa->nexts[iVar3];\n    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);\n    if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }\n  } while( true );" do (compound_statement "{\n    prVar9 = dfa->nodes;\n    prVar10 = dfa->edests;\n    prVar6 = prVar9 + top_org_node;\n    cVar2 = prVar6->field_0x4;\n    iVar3 = top_org_node;\n    iVar4 = top_clone_node;\n    while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }\n    top_org_node = dfa->nexts[iVar3];\n    prVar10[iVar4].nelem = 0;\n    top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);\n    if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }\n    prVar10 = dfa->edests;\n    dfa->nexts[iVar4] = dfa->nexts[iVar3];\n    _Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);\n    if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }\n  }" { (expression_statement "prVar9 = dfa->nodes;" (assignment_expression "prVar9 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) (expression_statement "prVar10 = dfa->edests;" (assignment_expression "prVar10 = dfa->edests" identifier = (field_expression "dfa->edests" identifier -> field_identifier)) ;) (expression_statement "prVar6 = prVar9 + top_org_node;" (assignment_expression "prVar6 = prVar9 + top_org_node" identifier = (binary_expression "prVar9 + top_org_node" identifier + identifier)) ;) (expression_statement "cVar2 = prVar6->field_0x4;" (assignment_expression "cVar2 = prVar6->field_0x4" identifier = (field_expression "prVar6->field_0x4" identifier -> field_identifier)) ;) (expression_statement "iVar3 = top_org_node;" (assignment_expression "iVar3 = top_org_node" identifier = identifier) ;) (expression_statement "iVar4 = top_clone_node;" (assignment_expression "iVar4 = top_clone_node" identifier = identifier) ;) (while_statement "while (cVar2 != '\x04') {\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }" while (parenthesized_expression "(cVar2 != '\x04')" ( (binary_expression "cVar2 != '\x04'" identifier != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }\n      elem = *prVar10[iVar3].elems;\n      set = prVar10 + iVar4;\n      if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }\n      set->nelem = 0;\n      if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }\n      init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;\n      IVar11 = duplicate_node(dfa,elem,init_constraint);\n      if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }\n      _Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);\n      if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }\n      prVar9 = dfa->nodes;\n      prVar10 = dfa->edests;\n      prVar6 = prVar9 + elem;\n      iVar3 = elem;\n      iVar4 = IVar11;\n      cVar2 = prVar6->field_0x4;\n    }" { (if_statement "if (prVar10[iVar3].nelem == 0) {\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }" if (parenthesized_expression "(prVar10[iVar3].nelem == 0)" ( (binary_expression "prVar10[iVar3].nelem == 0" (field_expression "prVar10[iVar3].nelem" (subscript_expression "prVar10[iVar3]" identifier [ identifier ]) . field_identifier) == number_literal) )) (compound_statement "{\n        dfa->nexts[iVar4] = dfa->nexts[iVar3];\n        return _REG_NOERROR;\n      }" { (expression_statement "dfa->nexts[iVar4] = dfa->nexts[iVar3];" (assignment_expression "dfa->nexts[iVar4] = dfa->nexts[iVar3]" (subscript_expression "dfa->nexts[iVar4]" (field_expression "dfa->nexts" identifier -> field_identifier) [ identifier ]) = (subscript_expression "dfa->nexts[iVar3]" (field_expression "dfa->nexts" identifier -> field_identifier) [ identifier ])) ;) (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "elem = *prVar10[iVar3].elems;" (assignment_expression "elem = *prVar10[iVar3].elems" identifier = (pointer_expression "*prVar10[iVar3].elems" * (field_expression "prVar10[iVar3].elems" (subscript_expression "prVar10[iVar3]" identifier [ identifier ]) . field_identifier))) ;) (expression_statement "set = prVar10 + iVar4;" (assignment_expression "set = prVar10 + iVar4" identifier = (binary_expression "prVar10 + iVar4" identifier + identifier)) ;) (if_statement "if (prVar10[iVar3].nelem != 1) {\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }" if (parenthesized_expression "(prVar10[iVar3].nelem != 1)" ( (binary_expression "prVar10[iVar3].nelem != 1" (field_expression "prVar10[iVar3].nelem" (subscript_expression "prVar10[iVar3]" identifier [ identifier ]) . field_identifier) != number_literal) )) (compound_statement "{\n        sVar14 = dfa->nodes_len;\n        set->nelem = 0;\n        IVar11 = sVar14 - 1;\n        prVar6 = prVar9 + IVar11;\n        if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;\n        pIVar13 = dfa->org_indices + sVar14;\n        iVar5 = sVar14 * 8 - (int)prVar6;\n        goto LAB_00019ad4;\n      }" { (expression_statement "sVar14 = dfa->nodes_len;" (assignment_expression "sVar14 = dfa->nodes_len" identifier = (field_expression "dfa->nodes_len" identifier -> field_identifier)) ;) (expression_statement "set->nelem = 0;" (assignment_expression "set->nelem = 0" (field_expression "set->nelem" identifier -> field_identifier) = number_literal) ;) (expression_statement "IVar11 = sVar14 - 1;" (assignment_expression "IVar11 = sVar14 - 1" identifier = (binary_expression "sVar14 - 1" identifier - number_literal)) ;) (expression_statement "prVar6 = prVar9 + IVar11;" (assignment_expression "prVar6 = prVar9 + IVar11" identifier = (binary_expression "prVar9 + IVar11" identifier + identifier)) ;) (if_statement "if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)) goto LAB_00019c88;" if (parenthesized_expression "(((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1))" ( (binary_expression "((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 < 1)" (parenthesized_expression "((*(uint *)&prVar6->field_0x4 & 0x2000) == 0)" ( (binary_expression "(*(uint *)&prVar6->field_0x4 & 0x2000) == 0" (parenthesized_expression "(*(uint *)&prVar6->field_0x4 & 0x2000)" ( (binary_expression "*(uint *)&prVar6->field_0x4 & 0x2000" (pointer_expression "*(uint *)&prVar6->field_0x4" * (cast_expression "(uint *)&prVar6->field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar6->field_0x4" & (field_expression "prVar6->field_0x4" identifier -> field_identifier)))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(IVar11 < 1)" ( (binary_expression "IVar11 < 1" identifier < number_literal) ))) )) (goto_statement "goto LAB_00019c88;" goto statement_identifier ;)) (expression_statement "pIVar13 = dfa->org_indices + sVar14;" (assignment_expression "pIVar13 = dfa->org_indices + sVar14" identifier = (binary_expression "dfa->org_indices + sVar14" (field_expression "dfa->org_indices" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar5 = sVar14 * 8 - (int)prVar6;" (assignment_expression "iVar5 = sVar14 * 8 - (int)prVar6" identifier = (binary_expression "sVar14 * 8 - (int)prVar6" (binary_expression "sVar14 * 8" identifier * number_literal) - (cast_expression "(int)prVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00019ad4;" goto statement_identifier ;) })) (expression_statement "set->nelem = 0;" (assignment_expression "set->nelem = 0" (field_expression "set->nelem" identifier -> field_identifier) = number_literal) ;) (if_statement "if ((iVar3 == root_node) && (iVar3 != iVar4)) {\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }" if (parenthesized_expression "((iVar3 == root_node) && (iVar3 != iVar4))" ( (binary_expression "(iVar3 == root_node) && (iVar3 != iVar4)" (parenthesized_expression "(iVar3 == root_node)" ( (binary_expression "iVar3 == root_node" identifier == identifier) )) && (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) ))) )) (compound_statement "{\n        _Var8 = re_node_set_insert(set,elem);\n        if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }\n        return _REG_NOERROR;\n      }" { (expression_statement "_Var8 = re_node_set_insert(set,elem);" (assignment_expression "_Var8 = re_node_set_insert(set,elem)" identifier = (call_expression "re_node_set_insert(set,elem)" identifier (argument_list "(set,elem)" ( identifier , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_04,_Var8) == 0) {\n          return _REG_ESPACE;\n        }" if (parenthesized_expression "(CONCAT31(extraout_var_04,_Var8) == 0)" ( (binary_expression "CONCAT31(extraout_var_04,_Var8) == 0" (call_expression "CONCAT31(extraout_var_04,_Var8)" identifier (argument_list "(extraout_var_04,_Var8)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n          return _REG_ESPACE;\n        }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;" (assignment_expression "init_constraint = init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16" identifier = (binary_expression "init_constraint | (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16" identifier | (binary_expression "(uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16" (call_expression "(uint)(*(int *)&prVar6->field_0x4 << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)&prVar6->field_0x4 << 8)" ( (binary_expression "*(int *)&prVar6->field_0x4 << 8" (pointer_expression "*(int *)&prVar6->field_0x4" * (cast_expression "(int *)&prVar6->field_0x4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar6->field_0x4" & (field_expression "prVar6->field_0x4" identifier -> field_identifier)))) << number_literal) ))) >> number_literal))) ;) (expression_statement "IVar11 = duplicate_node(dfa,elem,init_constraint);" (assignment_expression "IVar11 = duplicate_node(dfa,elem,init_constraint)" identifier = (call_expression "duplicate_node(dfa,elem,init_constraint)" identifier (argument_list "(dfa,elem,init_constraint)" ( identifier , identifier , identifier )))) ;) (if_statement "if (IVar11 == -1) {\n        return _REG_ESPACE;\n      }" if (parenthesized_expression "(IVar11 == -1)" ( (binary_expression "IVar11 == -1" identifier == number_literal) )) (compound_statement "{\n        return _REG_ESPACE;\n      }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11);" (assignment_expression "_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11)" identifier = (call_expression "re_node_set_insert(dfa->edests + iVar4,IVar11)" identifier (argument_list "(dfa->edests + iVar4,IVar11)" ( (binary_expression "dfa->edests + iVar4" (field_expression "dfa->edests" identifier -> field_identifier) + identifier) , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_01,_Var8) == 0) {\n        return _REG_ESPACE;\n      }" if (parenthesized_expression "(CONCAT31(extraout_var_01,_Var8) == 0)" ( (binary_expression "CONCAT31(extraout_var_01,_Var8) == 0" (call_expression "CONCAT31(extraout_var_01,_Var8)" identifier (argument_list "(extraout_var_01,_Var8)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        return _REG_ESPACE;\n      }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "prVar9 = dfa->nodes;" (assignment_expression "prVar9 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) (expression_statement "prVar10 = dfa->edests;" (assignment_expression "prVar10 = dfa->edests" identifier = (field_expression "dfa->edests" identifier -> field_identifier)) ;) (expression_statement "prVar6 = prVar9 + elem;" (assignment_expression "prVar6 = prVar9 + elem" identifier = (binary_expression "prVar9 + elem" identifier + identifier)) ;) (expression_statement "iVar3 = elem;" (assignment_expression "iVar3 = elem" identifier = identifier) ;) (expression_statement "iVar4 = IVar11;" (assignment_expression "iVar4 = IVar11" identifier = identifier) ;) (expression_statement "cVar2 = prVar6->field_0x4;" (assignment_expression "cVar2 = prVar6->field_0x4" identifier = (field_expression "prVar6->field_0x4" identifier -> field_identifier)) ;) })) (expression_statement "top_org_node = dfa->nexts[iVar3];" (assignment_expression "top_org_node = dfa->nexts[iVar3]" identifier = (subscript_expression "dfa->nexts[iVar3]" (field_expression "dfa->nexts" identifier -> field_identifier) [ identifier ])) ;) (expression_statement "prVar10[iVar4].nelem = 0;" (assignment_expression "prVar10[iVar4].nelem = 0" (field_expression "prVar10[iVar4].nelem" (subscript_expression "prVar10[iVar4]" identifier [ identifier ]) . field_identifier) = number_literal) ;) (expression_statement "top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);" (assignment_expression "top_clone_node = duplicate_node(dfa,top_org_node,init_constraint)" identifier = (call_expression "duplicate_node(dfa,top_org_node,init_constraint)" identifier (argument_list "(dfa,top_org_node,init_constraint)" ( identifier , identifier , identifier )))) ;) (if_statement "if (top_clone_node == -1) {\n      return _REG_ESPACE;\n    }" if (parenthesized_expression "(top_clone_node == -1)" ( (binary_expression "top_clone_node == -1" identifier == number_literal) )) (compound_statement "{\n      return _REG_ESPACE;\n    }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "prVar10 = dfa->edests;" (assignment_expression "prVar10 = dfa->edests" identifier = (field_expression "dfa->edests" identifier -> field_identifier)) ;) (expression_statement "dfa->nexts[iVar4] = dfa->nexts[iVar3];" (assignment_expression "dfa->nexts[iVar4] = dfa->nexts[iVar3]" (subscript_expression "dfa->nexts[iVar4]" (field_expression "dfa->nexts" identifier -> field_identifier) [ identifier ]) = (subscript_expression "dfa->nexts[iVar3]" (field_expression "dfa->nexts" identifier -> field_identifier) [ identifier ])) ;) (expression_statement "_Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node);" (assignment_expression "_Var8 = re_node_set_insert(prVar10 + iVar4,top_clone_node)" identifier = (call_expression "re_node_set_insert(prVar10 + iVar4,top_clone_node)" identifier (argument_list "(prVar10 + iVar4,top_clone_node)" ( (binary_expression "prVar10 + iVar4" identifier + identifier) , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_02,_Var8) == 0) {\n      return _REG_ESPACE;\n    }" if (parenthesized_expression "(CONCAT31(extraout_var_02,_Var8) == 0)" ( (binary_expression "CONCAT31(extraout_var_02,_Var8) == 0" (call_expression "CONCAT31(extraout_var_02,_Var8)" identifier (argument_list "(extraout_var_02,_Var8)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n      return _REG_ESPACE;\n    }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) (while_statement "while( true ) {\n    prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);\n    IVar11 = IVar11 + -1;\n    if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;\nLAB_00019ad4:\n    pIVar1 = pIVar13 + -1;\n    pIVar13 = pIVar13 + -1;\n    if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);\n    IVar11 = IVar11 + -1;\n    if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;\nLAB_00019ad4:\n    pIVar1 = pIVar13 + -1;\n    pIVar13 = pIVar13 + -1;\n    if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }\n  }" { (expression_statement "prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10);" (assignment_expression "prVar6 = (re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10)" identifier = (cast_expression "(re_token_t *)((int)prVar6 + (int)prVar9 + iVar5 + -0x10)" ( (type_descriptor "re_token_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)prVar6 + (int)prVar9 + iVar5 + -0x10)" ( (binary_expression "(int)prVar6 + (int)prVar9 + iVar5 + -0x10" (binary_expression "(int)prVar6 + (int)prVar9 + iVar5" (binary_expression "(int)prVar6 + (int)prVar9" (cast_expression "(int)prVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)prVar9" ( (type_descriptor "int" primitive_type) ) identifier)) + identifier) + number_literal) )))) ;) (expression_statement "IVar11 = IVar11 + -1;" (assignment_expression "IVar11 = IVar11 + -1" identifier = (binary_expression "IVar11 + -1" identifier + number_literal)) ;) (if_statement "if (((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)) break;" if (parenthesized_expression "(((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0))" ( (binary_expression "((*(uint *)&prVar6->field_0x4 & 0x2000) == 0) || (IVar11 == 0)" (parenthesized_expression "((*(uint *)&prVar6->field_0x4 & 0x2000) == 0)" ( (binary_expression "(*(uint *)&prVar6->field_0x4 & 0x2000) == 0" (parenthesized_expression "(*(uint *)&prVar6->field_0x4 & 0x2000)" ( (binary_expression "*(uint *)&prVar6->field_0x4 & 0x2000" (pointer_expression "*(uint *)&prVar6->field_0x4" * (cast_expression "(uint *)&prVar6->field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar6->field_0x4" & (field_expression "prVar6->field_0x4" identifier -> field_identifier)))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(IVar11 == 0)" ( (binary_expression "IVar11 == 0" identifier == number_literal) ))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00019ad4:\n    pIVar1 = pIVar13 + -1;" statement_identifier : (expression_statement "pIVar1 = pIVar13 + -1;" (assignment_expression "pIVar1 = pIVar13 + -1" identifier = (binary_expression "pIVar13 + -1" identifier + number_literal)) ;)) (expression_statement "pIVar13 = pIVar13 + -1;" (assignment_expression "pIVar13 = pIVar13 + -1" identifier = (binary_expression "pIVar13 + -1" identifier + number_literal)) ;) (if_statement "if ((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }" if (parenthesized_expression "((*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16))" ( (binary_expression "(*pIVar1 == elem) && (init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)" (parenthesized_expression "(*pIVar1 == elem)" ( (binary_expression "*pIVar1 == elem" (pointer_expression "*pIVar1" * identifier) == identifier) )) && (parenthesized_expression "(init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)" ( (binary_expression "init_constraint == (uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16" identifier == (binary_expression "(uint)(*(int *)&prVar6->field_0x4 << 8) >> 0x16" (call_expression "(uint)(*(int *)&prVar6->field_0x4 << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)&prVar6->field_0x4 << 8)" ( (binary_expression "*(int *)&prVar6->field_0x4 << 8" (pointer_expression "*(int *)&prVar6->field_0x4" * (cast_expression "(int *)&prVar6->field_0x4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar6->field_0x4" & (field_expression "prVar6->field_0x4" identifier -> field_identifier)))) << number_literal) ))) >> number_literal)) ))) )) (compound_statement "{\n      _Var8 = re_node_set_insert(set,IVar11);\n      rVar12 = _REG_ESPACE;\n      rVar7 = CONCAT31(extraout_var,_Var8);\n      goto joined_r0x00019afc;\n    }" { (expression_statement "_Var8 = re_node_set_insert(set,IVar11);" (assignment_expression "_Var8 = re_node_set_insert(set,IVar11)" identifier = (call_expression "re_node_set_insert(set,IVar11)" identifier (argument_list "(set,IVar11)" ( identifier , identifier )))) ;) (expression_statement "rVar12 = _REG_ESPACE;" (assignment_expression "rVar12 = _REG_ESPACE" identifier = identifier) ;) (expression_statement "rVar7 = CONCAT31(extraout_var,_Var8);" (assignment_expression "rVar7 = CONCAT31(extraout_var,_Var8)" identifier = (call_expression "CONCAT31(extraout_var,_Var8)" identifier (argument_list "(extraout_var,_Var8)" ( identifier , identifier )))) ;) (goto_statement "goto joined_r0x00019afc;" goto statement_identifier ;) })) })) (labeled_statement "LAB_00019c88:\n  IVar11 = duplicate_node(dfa,elem,init_constraint);" statement_identifier : (expression_statement "IVar11 = duplicate_node(dfa,elem,init_constraint);" (assignment_expression "IVar11 = duplicate_node(dfa,elem,init_constraint)" identifier = (call_expression "duplicate_node(dfa,elem,init_constraint)" identifier (argument_list "(dfa,elem,init_constraint)" ( identifier , identifier , identifier )))) ;)) (if_statement "if ((IVar11 == -1) ||\n     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0))\n  {\n    return _REG_ESPACE;\n  }" if (parenthesized_expression "((IVar11 == -1) ||\n     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0))" ( (binary_expression "(IVar11 == -1) ||\n     (_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0)" (parenthesized_expression "(IVar11 == -1)" ( (binary_expression "IVar11 == -1" identifier == number_literal) )) || (parenthesized_expression "(_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0)" ( (comma_expression "_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11), CONCAT31(extraout_var_03,_Var8) == 0" (assignment_expression "_Var8 = re_node_set_insert(dfa->edests + iVar4,IVar11)" identifier = (call_expression "re_node_set_insert(dfa->edests + iVar4,IVar11)" identifier (argument_list "(dfa->edests + iVar4,IVar11)" ( (binary_expression "dfa->edests + iVar4" (field_expression "dfa->edests" identifier -> field_identifier) + identifier) , identifier )))) , (binary_expression "CONCAT31(extraout_var_03,_Var8) == 0" (call_expression "CONCAT31(extraout_var_03,_Var8)" identifier (argument_list "(extraout_var_03,_Var8)" ( identifier , identifier ))) == number_literal)) ))) )) (compound_statement "{\n    return _REG_ESPACE;\n  }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "rVar12 = duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint);" (assignment_expression "rVar12 = duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint)" identifier = (call_expression "duplicate_node_closure(dfa,elem,IVar11,root_node,init_constraint)" identifier (argument_list "(dfa,elem,IVar11,root_node,init_constraint)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "rVar7 = rVar12;" (assignment_expression "rVar7 = rVar12" identifier = identifier) ;) (labeled_statement "joined_r0x00019afc:\n  if (rVar7 == _REG_NOERROR) {\n    return rVar12;\n  }" statement_identifier : (if_statement "if (rVar7 == _REG_NOERROR) {\n    return rVar12;\n  }" if (parenthesized_expression "(rVar7 == _REG_NOERROR)" ( (binary_expression "rVar7 == _REG_NOERROR" identifier == identifier) )) (compound_statement "{\n    return rVar12;\n  }" { (return_statement "return rVar12;" return identifier ;) }))) (expression_statement "top_org_node = dfa->edests[iVar3].elems[1];" (assignment_expression "top_org_node = dfa->edests[iVar3].elems[1]" identifier = (subscript_expression "dfa->edests[iVar3].elems[1]" (field_expression "dfa->edests[iVar3].elems" (subscript_expression "dfa->edests[iVar3]" (field_expression "dfa->edests" identifier -> field_identifier) [ identifier ]) . field_identifier) [ number_literal ])) ;) (expression_statement "top_clone_node = duplicate_node(dfa,top_org_node,init_constraint);" (assignment_expression "top_clone_node = duplicate_node(dfa,top_org_node,init_constraint)" identifier = (call_expression "duplicate_node(dfa,top_org_node,init_constraint)" identifier (argument_list "(dfa,top_org_node,init_constraint)" ( identifier , identifier , identifier )))) ;) (if_statement "if (top_clone_node == -1) {\n    return _REG_ESPACE;\n  }" if (parenthesized_expression "(top_clone_node == -1)" ( (binary_expression "top_clone_node == -1" identifier == number_literal) )) (compound_statement "{\n    return _REG_ESPACE;\n  }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "_Var8 = re_node_set_insert(dfa->edests + iVar4,top_clone_node);" (assignment_expression "_Var8 = re_node_set_insert(dfa->edests + iVar4,top_clone_node)" identifier = (call_expression "re_node_set_insert(dfa->edests + iVar4,top_clone_node)" identifier (argument_list "(dfa->edests + iVar4,top_clone_node)" ( (binary_expression "dfa->edests + iVar4" (field_expression "dfa->edests" identifier -> field_identifier) + identifier) , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_00,_Var8) == 0) {\n    return _REG_ESPACE;\n  }" if (parenthesized_expression "(CONCAT31(extraout_var_00,_Var8) == 0)" ( (binary_expression "CONCAT31(extraout_var_00,_Var8) == 0" (call_expression "CONCAT31(extraout_var_00,_Var8)" identifier (argument_list "(extraout_var_00,_Var8)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n    return _REG_ESPACE;\n  }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (goto_statement "goto LAB_00019a18;" goto statement_identifier ;) })))
(translation_unit "int FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}\n\n" (function_definition "int FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}" primitive_type (function_declarator "FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)" identifier (parameter_list "(int *param_1,int param_2,int param_3,int param_4,uint param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (labeled_statement "LAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );" do (compound_statement "{\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  }" { (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar5 + param_2 * 8;" (assignment_expression "iVar4 = iVar5 + param_2 * 8" identifier = (binary_expression "iVar5 + param_2 * 8" identifier + (binary_expression "param_2 * 8" identifier * number_literal))) ;) (expression_statement "cVar2 = *(char *)(iVar4 + 4);" (assignment_expression "cVar2 = *(char *)(iVar4 + 4)" identifier = (pointer_expression "*(char *)(iVar4 + 4)" * (cast_expression "(char *)(iVar4 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = param_2;" (assignment_expression "iVar3 = param_2" identifier = identifier) ;) (expression_statement "iVar9 = param_3;" (assignment_expression "iVar9 = param_3" identifier = identifier) ;) (while_statement "while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }" while (parenthesized_expression "(cVar2 != '\x04')" ( (binary_expression "cVar2 != '\x04'" identifier != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }" { (expression_statement "iVar8 = iVar6 + iVar3 * 0xc;" (assignment_expression "iVar8 = iVar6 + iVar3 * 0xc" identifier = (binary_expression "iVar6 + iVar3 * 0xc" identifier + (binary_expression "iVar3 * 0xc" identifier * number_literal))) ;) (expression_statement "iVar7 = *(int *)(iVar8 + 4);" (assignment_expression "iVar7 = *(int *)(iVar8 + 4)" identifier = (pointer_expression "*(int *)(iVar8 + 4)" * (cast_expression "(int *)(iVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 4)" ( (binary_expression "iVar8 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }" { (expression_statement "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);" (assignment_expression "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4)" (pointer_expression "*(undefined4 *)(param_1[3] + iVar9 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar9 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar9 * 4)" ( (binary_expression "param_1[3] + iVar9 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar9 * 4" identifier * number_literal)) )))) = (pointer_expression "*(undefined4 *)(param_1[3] + iVar3 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar3 * 4)" ( (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = iVar9 * 0xc;" (assignment_expression "iVar10 = iVar9 * 0xc" identifier = (binary_expression "iVar9 * 0xc" identifier * number_literal)) ;) (expression_statement "iVar8 = **(int **)(iVar8 + 8);" (assignment_expression "iVar8 = **(int **)(iVar8 + 8)" identifier = (pointer_expression "**(int **)(iVar8 + 8)" * (pointer_expression "*(int **)(iVar8 + 8)" * (cast_expression "(int **)(iVar8 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))))) ;) (expression_statement "iVar6 = iVar6 + iVar10;" (assignment_expression "iVar6 = iVar6 + iVar10" identifier = (binary_expression "iVar6 + iVar10" identifier + identifier)) ;) (if_statement "if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }" if (parenthesized_expression "(iVar7 != 1)" ( (binary_expression "iVar7 != 1" identifier != number_literal) )) (compound_statement "{\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }" { (expression_statement "iVar9 = param_1[2];" (assignment_expression "iVar9 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = iVar9 + -1;" (assignment_expression "iVar4 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar5 + iVar4 * 8;" (assignment_expression "iVar6 = iVar5 + iVar4 * 8" identifier = (binary_expression "iVar5 + iVar4 * 8" identifier + (binary_expression "iVar4 * 8" identifier * number_literal))) ;) (if_statement "if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;" if (parenthesized_expression "(((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1))" ( (binary_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)" (parenthesized_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 4) & 0x2000)" ( (binary_expression "*(uint *)(iVar6 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar6 + 4)" * (cast_expression "(uint *)(iVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) ))) )) (goto_statement "goto LAB_00019c88;" goto statement_identifier ;)) (expression_statement "iVar7 = param_1[4] + iVar9 * 4;" (assignment_expression "iVar7 = param_1[4] + iVar9 * 4" identifier = (binary_expression "param_1[4] + iVar9 * 4" (subscript_expression "param_1[4]" identifier [ number_literal ]) + (binary_expression "iVar9 * 4" identifier * number_literal))) ;) (expression_statement "iVar5 = (iVar5 + iVar9 * 8) - iVar6;" (assignment_expression "iVar5 = (iVar5 + iVar9 * 8) - iVar6" identifier = (binary_expression "(iVar5 + iVar9 * 8) - iVar6" (parenthesized_expression "(iVar5 + iVar9 * 8)" ( (binary_expression "iVar5 + iVar9 * 8" identifier + (binary_expression "iVar9 * 8" identifier * number_literal)) )) - identifier)) ;) (goto_statement "goto LAB_00019ad4;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(iVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }" if (parenthesized_expression "((iVar3 == param_4) && (iVar3 != iVar9))" ( (binary_expression "(iVar3 == param_4) && (iVar3 != iVar9)" (parenthesized_expression "(iVar3 == param_4)" ( (binary_expression "iVar3 == param_4" identifier == identifier) )) && (parenthesized_expression "(iVar3 != iVar9)" ( (binary_expression "iVar3 != iVar9" identifier != identifier) ))) )) (compound_statement "{\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }" { (expression_statement "iVar5 = FUN_000184c8(iVar6,iVar8);" (assignment_expression "iVar5 = FUN_000184c8(iVar6,iVar8)" identifier = (call_expression "FUN_000184c8(iVar6,iVar8)" identifier (argument_list "(iVar6,iVar8)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n          return 0xc;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0xc;\n        }" { (return_statement "return 0xc;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;" (assignment_expression "param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" identifier = (binary_expression "param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" identifier | (binary_expression "(uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" (call_expression "(uint)(*(int *)(iVar4 + 4) << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar4 + 4) << 8)" ( (binary_expression "*(int *)(iVar4 + 4) << 8" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) << number_literal) ))) >> number_literal))) ;) (expression_statement "iVar9 = FUN_000198ec(param_1,iVar8,param_5);" (assignment_expression "iVar9 = FUN_000198ec(param_1,iVar8,param_5)" identifier = (call_expression "FUN_000198ec(param_1,iVar8,param_5)" identifier (argument_list "(param_1,iVar8,param_5)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar9 == -1) {\n        return 0xc;\n      }" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (compound_statement "{\n        return 0xc;\n      }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);" (assignment_expression "iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9)" identifier = (call_expression "FUN_000184c8(param_1[5] + iVar10,iVar9)" identifier (argument_list "(param_1[5] + iVar10,iVar9)" ( (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" identifier [ number_literal ]) + identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        return 0xc;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0xc;\n      }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar5 + iVar8 * 8;" (assignment_expression "iVar4 = iVar5 + iVar8 * 8" identifier = (binary_expression "iVar5 + iVar8 * 8" identifier + (binary_expression "iVar8 * 8" identifier * number_literal))) ;) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) (expression_statement "cVar2 = *(char *)(iVar4 + 4);" (assignment_expression "cVar2 = *(char *)(iVar4 + 4)" identifier = (pointer_expression "*(char *)(iVar4 + 4)" * (cast_expression "(char *)(iVar4 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) ))))) ;) })) (expression_statement "param_2 = *(int *)(param_1[3] + iVar3 * 4);" (assignment_expression "param_2 = *(int *)(param_1[3] + iVar3 * 4)" identifier = (pointer_expression "*(int *)(param_1[3] + iVar3 * 4)" * (cast_expression "(int *)(param_1[3] + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar3 * 4)" ( (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4)" * (cast_expression "(undefined4 *)(iVar6 + iVar9 * 0xc + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 0xc + 4)" ( (binary_expression "iVar6 + iVar9 * 0xc + 4" (binary_expression "iVar6 + iVar9 * 0xc" identifier + (binary_expression "iVar9 * 0xc" identifier * number_literal)) + number_literal) )))) = number_literal) ;) (expression_statement "param_3 = FUN_000198ec(param_1,param_2,param_5);" (assignment_expression "param_3 = FUN_000198ec(param_1,param_2,param_5)" identifier = (call_expression "FUN_000198ec(param_1,param_2,param_5)" identifier (argument_list "(param_1,param_2,param_5)" ( identifier , identifier , identifier )))) ;) (if_statement "if (param_3 == -1) {\n      return 0xc;\n    }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = param_1[5];" (assignment_expression "iVar5 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);" (assignment_expression "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4)" (pointer_expression "*(undefined4 *)(param_1[3] + iVar9 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar9 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar9 * 4)" ( (binary_expression "param_1[3] + iVar9 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar9 * 4" identifier * number_literal)) )))) = (pointer_expression "*(undefined4 *)(param_1[3] + iVar3 * 4)" * (cast_expression "(undefined4 *)(param_1[3] + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[3] + iVar3 * 4)" ( (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" identifier [ number_literal ]) + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);" (assignment_expression "iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3)" identifier = (call_expression "FUN_000184c8(iVar5 + iVar9 * 0xc,param_3)" identifier (argument_list "(iVar5 + iVar9 * 0xc,param_3)" ( (binary_expression "iVar5 + iVar9 * 0xc" identifier + (binary_expression "iVar9 * 0xc" identifier * number_literal)) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) (while_statement "while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }" { (expression_statement "iVar6 = iVar6 + iVar5 + -0x10;" (assignment_expression "iVar6 = iVar6 + iVar5 + -0x10" identifier = (binary_expression "iVar6 + iVar5 + -0x10" (binary_expression "iVar6 + iVar5" identifier + identifier) + number_literal)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (if_statement "if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;" if (parenthesized_expression "(((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0))" ( (binary_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)" (parenthesized_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 4) & 0x2000)" ( (binary_expression "*(uint *)(iVar6 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar6 + 4)" * (cast_expression "(uint *)(iVar6 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) ))) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);" statement_identifier : (expression_statement "piVar1 = (int *)(iVar7 + -4);" (assignment_expression "piVar1 = (int *)(iVar7 + -4)" identifier = (cast_expression "(int *)(iVar7 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -4)" ( (binary_expression "iVar7 + -4" identifier + number_literal) )))) ;)) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) (if_statement "if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }" if (parenthesized_expression "((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16))" ( (binary_expression "(*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)" (parenthesized_expression "(*piVar1 == iVar8)" ( (binary_expression "*piVar1 == iVar8" (pointer_expression "*piVar1" * identifier) == identifier) )) && (parenthesized_expression "(param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)" ( (binary_expression "param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16" identifier == (binary_expression "(uint)(*(int *)(iVar6 + 4) << 8) >> 0x16" (call_expression "(uint)(*(int *)(iVar6 + 4) << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar6 + 4) << 8)" ( (binary_expression "*(int *)(iVar6 + 4) << 8" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) << number_literal) ))) >> number_literal)) ))) )) (compound_statement "{\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }" { (expression_statement "iVar6 = FUN_000184c8();" (assignment_expression "iVar6 = FUN_000184c8()" identifier = (call_expression "FUN_000184c8()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = 0xc;" (assignment_expression "iVar5 = 0xc" identifier = number_literal) ;) (goto_statement "goto joined_r0x00019afc;" goto statement_identifier ;) })) })) (labeled_statement "LAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);" statement_identifier : (expression_statement "iVar5 = FUN_000198ec(param_1,iVar8,param_5);" (assignment_expression "iVar5 = FUN_000198ec(param_1,iVar8,param_5)" identifier = (call_expression "FUN_000198ec(param_1,iVar8,param_5)" identifier (argument_list "(param_1,iVar8,param_5)" ( identifier , identifier , identifier )))) ;)) (if_statement "if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }" if (parenthesized_expression "((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0))" ( (binary_expression "(iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)" (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) || (parenthesized_expression "(iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)" ( (comma_expression "iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0" (assignment_expression "iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5)" identifier = (call_expression "FUN_000184c8(param_1[5] + iVar10,iVar5)" identifier (argument_list "(param_1[5] + iVar10,iVar5)" ( (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" identifier [ number_literal ]) + identifier) , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    return 0xc;\n  }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);" (assignment_expression "iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5)" identifier = (call_expression "FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5)" identifier (argument_list "(param_1,iVar8,iVar5,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) (labeled_statement "joined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iVar6 == 0) {\n    return iVar5;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);" (assignment_expression "param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" * (cast_expression "(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" ( (binary_expression "*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4" (pointer_expression "*(int *)(param_1[5] + iVar3 * 0xc + 8)" * (cast_expression "(int *)(param_1[5] + iVar3 * 0xc + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[5] + iVar3 * 0xc + 8)" ( (binary_expression "param_1[5] + iVar3 * 0xc + 8" (binary_expression "param_1[5] + iVar3 * 0xc" (subscript_expression "param_1[5]" identifier [ number_literal ]) + (binary_expression "iVar3 * 0xc" identifier * number_literal)) + number_literal) )))) + number_literal) ))))) ;) (expression_statement "param_3 = FUN_000198ec(param_1,param_2,param_5);" (assignment_expression "param_3 = FUN_000198ec(param_1,param_2,param_5)" identifier = (call_expression "FUN_000198ec(param_1,param_2,param_5)" identifier (argument_list "(param_1,param_2,param_5)" ( identifier , identifier , identifier )))) ;) (if_statement "if (param_3 == -1) {\n    return 0xc;\n  }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n    return 0xc;\n  }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);" (assignment_expression "iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3)" identifier = (call_expression "FUN_000184c8(param_1[5] + iVar10,param_3)" identifier (argument_list "(param_1[5] + iVar10,param_3)" ( (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" identifier [ number_literal ]) + identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n    return 0xc;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0xc;\n  }" { (return_statement "return 0xc;" return number_literal ;) })) (goto_statement "goto LAB_00019a18;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )) - IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) ))) >> LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (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) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_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 (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + (binary_expression IDENT * LIT)) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( BOOL )) ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT == (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) ))) >> LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })))
(function_definition "int FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}" (primitive_type "int") (function_declarator "FUN_000199b0(int *param_1,int param_2,int param_3,int param_4,uint param_5)" (identifier "FUN_000199b0") (parameter_list "(int *param_1,int param_2,int param_3,int param_4,uint param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  \nLAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );\n  while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }\nLAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);\n  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }\n  iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);\n  iVar6 = iVar5;\njoined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }\n  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);\n  param_3 = FUN_000198ec(param_1,param_2,param_5);\n  if (param_3 == -1) {\n    return 0xc;\n  }\n  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);\n  if (iVar5 == 0) {\n    return 0xc;\n  }\n  goto LAB_00019a18;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (labeled_statement "LAB_00019a18:\n  do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );" (statement_identifier "LAB_00019a18") (: ":") (do_statement "do {\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar5 = *param_1;\n    iVar6 = param_1[5];\n    iVar4 = iVar5 + param_2 * 8;\n    cVar2 = *(char *)(iVar4 + 4);\n    iVar3 = param_2;\n    iVar9 = param_3;\n    while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }\n    param_2 = *(int *)(param_1[3] + iVar3 * 4);\n    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;\n    param_3 = FUN_000198ec(param_1,param_2,param_5);\n    if (param_3 == -1) {\n      return 0xc;\n    }\n    iVar5 = param_1[5];\n    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);\n    if (iVar5 == 0) {\n      return 0xc;\n    }\n  }" ({ "{") (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" (identifier "iVar6") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar4 = iVar5 + param_2 * 8;" (assignment_expression "iVar4 = iVar5 + param_2 * 8" (identifier "iVar4") (= "=") (binary_expression "iVar5 + param_2 * 8" (identifier "iVar5") (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8")))) (; ";")) (expression_statement "cVar2 = *(char *)(iVar4 + 4);" (assignment_expression "cVar2 = *(char *)(iVar4 + 4)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(iVar4 + 4)" (* "*") (cast_expression "(char *)(iVar4 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar3 = param_2;" (assignment_expression "iVar3 = param_2" (identifier "iVar3") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar9 = param_3;" (assignment_expression "iVar9 = param_3" (identifier "iVar9") (= "=") (identifier "param_3")) (; ";")) (while_statement "while (cVar2 != '\x04') {\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }" (while "while") (parenthesized_expression "(cVar2 != '\x04')" (( "(") (binary_expression "cVar2 != '\x04'" (identifier "cVar2") (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n      iVar8 = iVar6 + iVar3 * 0xc;\n      iVar7 = *(int *)(iVar8 + 4);\n      if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }\n      iVar10 = iVar9 * 0xc;\n      iVar8 = **(int **)(iVar8 + 8);\n      iVar6 = iVar6 + iVar10;\n      if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }\n      *(undefined4 *)(iVar6 + 4) = 0;\n      if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }\n      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;\n      iVar9 = FUN_000198ec(param_1,iVar8,param_5);\n      if (iVar9 == -1) {\n        return 0xc;\n      }\n      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);\n      if (iVar5 == 0) {\n        return 0xc;\n      }\n      iVar5 = *param_1;\n      iVar6 = param_1[5];\n      iVar4 = iVar5 + iVar8 * 8;\n      iVar3 = iVar8;\n      cVar2 = *(char *)(iVar4 + 4);\n    }" ({ "{") (expression_statement "iVar8 = iVar6 + iVar3 * 0xc;" (assignment_expression "iVar8 = iVar6 + iVar3 * 0xc" (identifier "iVar8") (= "=") (binary_expression "iVar6 + iVar3 * 0xc" (identifier "iVar6") (+ "+") (binary_expression "iVar3 * 0xc" (identifier "iVar3") (* "*") (number_literal "0xc")))) (; ";")) (expression_statement "iVar7 = *(int *)(iVar8 + 4);" (assignment_expression "iVar7 = *(int *)(iVar8 + 4)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar8 + 4)" (* "*") (cast_expression "(int *)(iVar8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 4)" (( "(") (binary_expression "iVar8 + 4" (identifier "iVar8") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar7 == 0) {\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);\n        return 0;\n      }" ({ "{") (expression_statement "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);" (assignment_expression "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4)" (pointer_expression "*(undefined4 *)(param_1[3] + iVar9 * 4)" (* "*") (cast_expression "(undefined4 *)(param_1[3] + iVar9 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + iVar9 * 4)" (( "(") (binary_expression "param_1[3] + iVar9 * 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1[3] + iVar3 * 4)" (* "*") (cast_expression "(undefined4 *)(param_1[3] + iVar3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + iVar3 * 4)" (( "(") (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar10 = iVar9 * 0xc;" (assignment_expression "iVar10 = iVar9 * 0xc" (identifier "iVar10") (= "=") (binary_expression "iVar9 * 0xc" (identifier "iVar9") (* "*") (number_literal "0xc"))) (; ";")) (expression_statement "iVar8 = **(int **)(iVar8 + 8);" (assignment_expression "iVar8 = **(int **)(iVar8 + 8)" (identifier "iVar8") (= "=") (pointer_expression "**(int **)(iVar8 + 8)" (* "*") (pointer_expression "*(int **)(iVar8 + 8)" (* "*") (cast_expression "(int **)(iVar8 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "iVar6 = iVar6 + iVar10;" (assignment_expression "iVar6 = iVar6 + iVar10" (identifier "iVar6") (= "=") (binary_expression "iVar6 + iVar10" (identifier "iVar6") (+ "+") (identifier "iVar10"))) (; ";")) (if_statement "if (iVar7 != 1) {\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }" (if "if") (parenthesized_expression "(iVar7 != 1)" (( "(") (binary_expression "iVar7 != 1" (identifier "iVar7") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        iVar9 = param_1[2];\n        *(undefined4 *)(iVar6 + 4) = 0;\n        iVar4 = iVar9 + -1;\n        iVar6 = iVar5 + iVar4 * 8;\n        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;\n        iVar7 = param_1[4] + iVar9 * 4;\n        iVar5 = (iVar5 + iVar9 * 8) - iVar6;\n        goto LAB_00019ad4;\n      }" ({ "{") (expression_statement "iVar9 = param_1[2];" (assignment_expression "iVar9 = param_1[2]" (identifier "iVar9") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = iVar9 + -1;" (assignment_expression "iVar4 = iVar9 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar6 = iVar5 + iVar4 * 8;" (assignment_expression "iVar6 = iVar5 + iVar4 * 8" (identifier "iVar6") (= "=") (binary_expression "iVar5 + iVar4 * 8" (identifier "iVar5") (+ "+") (binary_expression "iVar4 * 8" (identifier "iVar4") (* "*") (number_literal "8")))) (; ";")) (if_statement "if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;" (if "if") (parenthesized_expression "(((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1))" (( "(") (binary_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)" (parenthesized_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0)" (( "(") (binary_expression "(*(uint *)(iVar6 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 4) & 0x2000)" (( "(") (binary_expression "*(uint *)(iVar6 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar6 + 4)" (* "*") (cast_expression "(uint *)(iVar6 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 < 1)" (( "(") (binary_expression "iVar4 < 1" (identifier "iVar4") (< "<") (number_literal "1")) () ")"))) () ")")) (goto_statement "goto LAB_00019c88;" (goto "goto") (statement_identifier "LAB_00019c88") (; ";"))) (expression_statement "iVar7 = param_1[4] + iVar9 * 4;" (assignment_expression "iVar7 = param_1[4] + iVar9 * 4" (identifier "iVar7") (= "=") (binary_expression "param_1[4] + iVar9 * 4" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4")))) (; ";")) (expression_statement "iVar5 = (iVar5 + iVar9 * 8) - iVar6;" (assignment_expression "iVar5 = (iVar5 + iVar9 * 8) - iVar6" (identifier "iVar5") (= "=") (binary_expression "(iVar5 + iVar9 * 8) - iVar6" (parenthesized_expression "(iVar5 + iVar9 * 8)" (( "(") (binary_expression "iVar5 + iVar9 * 8" (identifier "iVar5") (+ "+") (binary_expression "iVar9 * 8" (identifier "iVar9") (* "*") (number_literal "8"))) () ")")) (- "-") (identifier "iVar6"))) (; ";")) (goto_statement "goto LAB_00019ad4;" (goto "goto") (statement_identifier "LAB_00019ad4") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar6 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar3 == param_4) && (iVar3 != iVar9)) {\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }" (if "if") (parenthesized_expression "((iVar3 == param_4) && (iVar3 != iVar9))" (( "(") (binary_expression "(iVar3 == param_4) && (iVar3 != iVar9)" (parenthesized_expression "(iVar3 == param_4)" (( "(") (binary_expression "iVar3 == param_4" (identifier "iVar3") (== "==") (identifier "param_4")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 != iVar9)" (( "(") (binary_expression "iVar3 != iVar9" (identifier "iVar3") (!= "!=") (identifier "iVar9")) () ")"))) () ")")) (compound_statement "{\n        iVar5 = FUN_000184c8(iVar6,iVar8);\n        if (iVar5 == 0) {\n          return 0xc;\n        }\n        return 0;\n      }" ({ "{") (expression_statement "iVar5 = FUN_000184c8(iVar6,iVar8);" (assignment_expression "iVar5 = FUN_000184c8(iVar6,iVar8)" (identifier "iVar5") (= "=") (call_expression "FUN_000184c8(iVar6,iVar8)" (identifier "FUN_000184c8") (argument_list "(iVar6,iVar8)" (( "(") (identifier "iVar6") (, ",") (identifier "iVar8") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n          return 0xc;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0xc;\n        }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;" (assignment_expression "param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" (identifier "param_5") (= "=") (binary_expression "param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" (identifier "param_5") (| "|") (binary_expression "(uint)(*(int *)(iVar4 + 4) << 8) >> 0x16" (call_expression "(uint)(*(int *)(iVar4 + 4) << 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar4 + 4) << 8)" (( "(") (binary_expression "*(int *)(iVar4 + 4) << 8" (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "8")) () ")"))) (>> ">>") (number_literal "0x16")))) (; ";")) (expression_statement "iVar9 = FUN_000198ec(param_1,iVar8,param_5);" (assignment_expression "iVar9 = FUN_000198ec(param_1,iVar8,param_5)" (identifier "iVar9") (= "=") (call_expression "FUN_000198ec(param_1,iVar8,param_5)" (identifier "FUN_000198ec") (argument_list "(param_1,iVar8,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "iVar8") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) {\n        return 0xc;\n      }" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        return 0xc;\n      }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);" (assignment_expression "iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9)" (identifier "iVar5") (= "=") (call_expression "FUN_000184c8(param_1[5] + iVar10,iVar9)" (identifier "FUN_000184c8") (argument_list "(param_1[5] + iVar10,iVar9)" (( "(") (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (identifier "iVar10")) (, ",") (identifier "iVar9") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n        return 0xc;\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0xc;\n      }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar5 = *param_1;" (assignment_expression "iVar5 = *param_1" (identifier "iVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" (identifier "iVar6") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar4 = iVar5 + iVar8 * 8;" (assignment_expression "iVar4 = iVar5 + iVar8 * 8" (identifier "iVar4") (= "=") (binary_expression "iVar5 + iVar8 * 8" (identifier "iVar5") (+ "+") (binary_expression "iVar8 * 8" (identifier "iVar8") (* "*") (number_literal "8")))) (; ";")) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" (identifier "iVar3") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "cVar2 = *(char *)(iVar4 + 4);" (assignment_expression "cVar2 = *(char *)(iVar4 + 4)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(iVar4 + 4)" (* "*") (cast_expression "(char *)(iVar4 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "param_2 = *(int *)(param_1[3] + iVar3 * 4);" (assignment_expression "param_2 = *(int *)(param_1[3] + iVar3 * 4)" (identifier "param_2") (= "=") (pointer_expression "*(int *)(param_1[3] + iVar3 * 4)" (* "*") (cast_expression "(int *)(param_1[3] + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + iVar3 * 4)" (( "(") (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0" (pointer_expression "*(undefined4 *)(iVar6 + iVar9 * 0xc + 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + iVar9 * 0xc + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar9 * 0xc + 4)" (( "(") (binary_expression "iVar6 + iVar9 * 0xc + 4" (binary_expression "iVar6 + iVar9 * 0xc" (identifier "iVar6") (+ "+") (binary_expression "iVar9 * 0xc" (identifier "iVar9") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3 = FUN_000198ec(param_1,param_2,param_5);" (assignment_expression "param_3 = FUN_000198ec(param_1,param_2,param_5)" (identifier "param_3") (= "=") (call_expression "FUN_000198ec(param_1,param_2,param_5)" (identifier "FUN_000198ec") (argument_list "(param_1,param_2,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (param_3 == -1) {\n      return 0xc;\n    }" (if "if") (parenthesized_expression "(param_3 == -1)" (( "(") (binary_expression "param_3 == -1" (identifier "param_3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return 0xc;\n    }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar5 = param_1[5];" (assignment_expression "iVar5 = param_1[5]" (identifier "iVar5") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);" (assignment_expression "*(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4)" (pointer_expression "*(undefined4 *)(param_1[3] + iVar9 * 4)" (* "*") (cast_expression "(undefined4 *)(param_1[3] + iVar9 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + iVar9 * 4)" (( "(") (binary_expression "param_1[3] + iVar9 * 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1[3] + iVar3 * 4)" (* "*") (cast_expression "(undefined4 *)(param_1[3] + iVar3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[3] + iVar3 * 4)" (( "(") (binary_expression "param_1[3] + iVar3 * 4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);" (assignment_expression "iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3)" (identifier "iVar5") (= "=") (call_expression "FUN_000184c8(iVar5 + iVar9 * 0xc,param_3)" (identifier "FUN_000184c8") (argument_list "(iVar5 + iVar9 * 0xc,param_3)" (( "(") (binary_expression "iVar5 + iVar9 * 0xc" (identifier "iVar5") (+ "+") (binary_expression "iVar9 * 0xc" (identifier "iVar9") (* "*") (number_literal "0xc"))) (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n      return 0xc;\n    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0xc;\n    }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (while_statement "while( true ) {\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar6 = iVar6 + iVar5 + -0x10;\n    iVar4 = iVar4 + -1;\n    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;\nLAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);\n    iVar7 = iVar7 + -4;\n    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }\n  }" ({ "{") (expression_statement "iVar6 = iVar6 + iVar5 + -0x10;" (assignment_expression "iVar6 = iVar6 + iVar5 + -0x10" (identifier "iVar6") (= "=") (binary_expression "iVar6 + iVar5 + -0x10" (binary_expression "iVar6 + iVar5" (identifier "iVar6") (+ "+") (identifier "iVar5")) (+ "+") (number_literal "-0x10"))) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;" (if "if") (parenthesized_expression "(((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0))" (( "(") (binary_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)" (parenthesized_expression "((*(uint *)(iVar6 + 4) & 0x2000) == 0)" (( "(") (binary_expression "(*(uint *)(iVar6 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 4) & 0x2000)" (( "(") (binary_expression "*(uint *)(iVar6 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar6 + 4)" (* "*") (cast_expression "(uint *)(iVar6 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00019ad4:\n    piVar1 = (int *)(iVar7 + -4);" (statement_identifier "LAB_00019ad4") (: ":") (expression_statement "piVar1 = (int *)(iVar7 + -4);" (assignment_expression "piVar1 = (int *)(iVar7 + -4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar7 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + -4)" (( "(") (binary_expression "iVar7 + -4" (identifier "iVar7") (+ "+") (number_literal "-4")) () ")")))) (; ";"))) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -4" (identifier "iVar7") (+ "+") (number_literal "-4"))) (; ";")) (if_statement "if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }" (if "if") (parenthesized_expression "((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16))" (( "(") (binary_expression "(*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)" (parenthesized_expression "(*piVar1 == iVar8)" (( "(") (binary_expression "*piVar1 == iVar8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (identifier "iVar8")) () ")")) (&& "&&") (parenthesized_expression "(param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)" (( "(") (binary_expression "param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16" (identifier "param_5") (== "==") (binary_expression "(uint)(*(int *)(iVar6 + 4) << 8) >> 0x16" (call_expression "(uint)(*(int *)(iVar6 + 4) << 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar6 + 4) << 8)" (( "(") (binary_expression "*(int *)(iVar6 + 4) << 8" (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (<< "<<") (number_literal "8")) () ")"))) (>> ">>") (number_literal "0x16"))) () ")"))) () ")")) (compound_statement "{\n      iVar6 = FUN_000184c8();\n      iVar5 = 0xc;\n      goto joined_r0x00019afc;\n    }" ({ "{") (expression_statement "iVar6 = FUN_000184c8();" (assignment_expression "iVar6 = FUN_000184c8()" (identifier "iVar6") (= "=") (call_expression "FUN_000184c8()" (identifier "FUN_000184c8") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = 0xc;" (assignment_expression "iVar5 = 0xc" (identifier "iVar5") (= "=") (number_literal "0xc")) (; ";")) (goto_statement "goto joined_r0x00019afc;" (goto "goto") (statement_identifier "joined_r0x00019afc") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00019c88:\n  iVar5 = FUN_000198ec(param_1,iVar8,param_5);" (statement_identifier "LAB_00019c88") (: ":") (expression_statement "iVar5 = FUN_000198ec(param_1,iVar8,param_5);" (assignment_expression "iVar5 = FUN_000198ec(param_1,iVar8,param_5)" (identifier "iVar5") (= "=") (call_expression "FUN_000198ec(param_1,iVar8,param_5)" (identifier "FUN_000198ec") (argument_list "(param_1,iVar8,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "iVar8") (, ",") (identifier "param_5") () ")")))) (; ";"))) (if_statement "if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {\n    return 0xc;\n  }" (if "if") (parenthesized_expression "((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0))" (( "(") (binary_expression "(iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)" (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (|| "||") (parenthesized_expression "(iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)" (( "(") (comma_expression "iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0" (assignment_expression "iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5)" (identifier "iVar6") (= "=") (call_expression "FUN_000184c8(param_1[5] + iVar10,iVar5)" (identifier "FUN_000184c8") (argument_list "(param_1[5] + iVar10,iVar5)" (( "(") (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (identifier "iVar10")) (, ",") (identifier "iVar5") () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return 0xc;\n  }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5);" (assignment_expression "iVar5 = FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5)" (identifier "iVar5") (= "=") (call_expression "FUN_000199b0(param_1,iVar8,iVar5,param_4,param_5)" (identifier "FUN_000199b0") (argument_list "(param_1,iVar8,iVar5,param_4,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "iVar8") (, ",") (identifier "iVar5") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (; ";")) (labeled_statement "joined_r0x00019afc:\n  if (iVar6 == 0) {\n    return iVar5;\n  }" (statement_identifier "joined_r0x00019afc") (: ":") (if_statement "if (iVar6 == 0) {\n    return iVar5;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar5;\n  }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))) (expression_statement "param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);" (assignment_expression "param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" (identifier "param_2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4)" (( "(") (binary_expression "*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4" (pointer_expression "*(int *)(param_1[5] + iVar3 * 0xc + 8)" (* "*") (cast_expression "(int *)(param_1[5] + iVar3 * 0xc + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[5] + iVar3 * 0xc + 8)" (( "(") (binary_expression "param_1[5] + iVar3 * 0xc + 8" (binary_expression "param_1[5] + iVar3 * 0xc" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (binary_expression "iVar3 * 0xc" (identifier "iVar3") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "param_3 = FUN_000198ec(param_1,param_2,param_5);" (assignment_expression "param_3 = FUN_000198ec(param_1,param_2,param_5)" (identifier "param_3") (= "=") (call_expression "FUN_000198ec(param_1,param_2,param_5)" (identifier "FUN_000198ec") (argument_list "(param_1,param_2,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_5") () ")")))) (; ";")) (if_statement "if (param_3 == -1) {\n    return 0xc;\n  }" (if "if") (parenthesized_expression "(param_3 == -1)" (( "(") (binary_expression "param_3 == -1" (identifier "param_3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    return 0xc;\n  }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);" (assignment_expression "iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3)" (identifier "iVar5") (= "=") (call_expression "FUN_000184c8(param_1[5] + iVar10,param_3)" (identifier "FUN_000184c8") (argument_list "(param_1[5] + iVar10,param_3)" (( "(") (binary_expression "param_1[5] + iVar10" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (+ "+") (identifier "iVar10")) (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n    return 0xc;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0xc;\n  }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (goto_statement "goto LAB_00019a18;" (goto "goto") (statement_identifier "LAB_00019a18") (; ";")) (} "}")))

type_1
function_1
          (type_2 *dfa,type_3 var_2,type_3 var_15,type_3 var_9,type_4 var_12)

{
  type_3 *pIVar1;
  char var_3;
  int var_8;
  int var_5;
  int var_16;
  type_5 extraout_var;
  type_5 extraout_var_00;
  type_5 extraout_var_01;
  type_5 extraout_var_02;
  type_5 extraout_var_03;
  type_5 extraout_var_04;
  type_6 *prVar6;
  type_7 _Var8;
  type_1 var_18;
  type_6 *var_1;
  type_8 *var_4;
  type_8 *set;
  type_3 var_7;
  type_1 rVar12;
  type_3 *var_17;
  size_t var_6;
  int var_14;
  
LAB_00019a18:
  do {
    var_1 = dfa->nodes;
    var_4 = dfa->edests;
    prVar6 = var_1 + var_2;
    var_3 = prVar6->field_0x4;
    var_8 = var_2;
    var_5 = var_15;
    while (var_3 != '\x04') {
      if (var_4[var_8].nelem == 0) {
        dfa->nexts[var_5] = dfa->nexts[var_8];
        return var_19;
      }
      var_14 = *var_4[var_8].elems;
      set = var_4 + var_5;
      if (var_4[var_8].nelem != 1) {
        var_6 = dfa->nodes_len;
        set->nelem = 0;
        var_7 = var_6 - 1;
        prVar6 = var_1 + var_7;
        if (((*(type_4 *)&prVar6->field_0x4 & 0x2000) == 0) || (var_7 < 1)) goto LAB_00019c88;
        var_17 = dfa->org_indices + var_6;
        var_16 = var_6 * 8 - (int)prVar6;
        goto LAB_00019ad4;
      }
      set->nelem = 0;
      if ((var_8 == var_9) && (var_8 != var_5)) {
        _Var8 = var_10(set,var_14);
        if (var_11(extraout_var_04,_Var8) == 0) {
          return _REG_ESPACE;
        }
        return var_19;
      }
      var_12 = var_12 | (type_4)(*(int *)&prVar6->field_0x4 << 8) >> 0x16;
      var_7 = var_13(dfa,var_14,var_12);
      if (var_7 == -1) {
        return _REG_ESPACE;
      }
      _Var8 = var_10(dfa->edests + var_5,var_7);
      if (var_11(extraout_var_01,_Var8) == 0) {
        return _REG_ESPACE;
      }
      var_1 = dfa->nodes;
      var_4 = dfa->edests;
      prVar6 = var_1 + var_14;
      var_8 = var_14;
      var_5 = var_7;
      var_3 = prVar6->field_0x4;
    }
    var_2 = dfa->nexts[var_8];
    var_4[var_5].nelem = 0;
    var_15 = var_13(dfa,var_2,var_12);
    if (var_15 == -1) {
      return _REG_ESPACE;
    }
    var_4 = dfa->edests;
    dfa->nexts[var_5] = dfa->nexts[var_8];
    _Var8 = var_10(var_4 + var_5,var_15);
    if (var_11(extraout_var_02,_Var8) == 0) {
      return _REG_ESPACE;
    }
  } while( true );
  while( true ) {
    prVar6 = (type_6 *)((int)prVar6 + (int)var_1 + var_16 + -0x10);
    var_7 = var_7 + -1;
    if (((*(type_4 *)&prVar6->field_0x4 & 0x2000) == 0) || (var_7 == 0)) break;
LAB_00019ad4:
    pIVar1 = var_17 + -1;
    var_17 = var_17 + -1;
    if ((*pIVar1 == var_14) && (var_12 == (type_4)(*(int *)&prVar6->field_0x4 << 8) >> 0x16)) {
      _Var8 = var_10(set,var_7);
      rVar12 = _REG_ESPACE;
      var_18 = var_11(extraout_var,_Var8);
      goto joined_r0x00019afc;
    }
  }
LAB_00019c88:
  var_7 = var_13(dfa,var_14,var_12);
  if ((var_7 == -1) ||
     (_Var8 = var_10(dfa->edests + var_5,var_7), var_11(extraout_var_03,_Var8) == 0))
  {
    return _REG_ESPACE;
  }
  rVar12 = function_1(dfa,var_14,var_7,var_9,var_12);
  var_18 = rVar12;
joined_r0x00019afc:
  if (var_18 == var_19) {
    return rVar12;
  }
  var_2 = dfa->edests[var_8].elems[1];
  var_15 = var_13(dfa,var_2,var_12);
  if (var_15 == -1) {
    return _REG_ESPACE;
  }
  _Var8 = var_10(dfa->edests + var_5,var_15);
  if (var_11(extraout_var_00,_Var8) == 0) {
    return _REG_ESPACE;
  }
  goto LAB_00019a18;
}


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

int MASKED(int *param_1,int param_2,int param_3,int param_4,uint param_5)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  
LAB_00019a18:
  do {
    iVar5 = *param_1;
    iVar6 = param_1[5];
    iVar4 = iVar5 + param_2 * 8;
    cVar2 = *(char *)(iVar4 + 4);
    iVar3 = param_2;
    iVar9 = param_3;
    while (cVar2 != '\x04') {
      iVar8 = iVar6 + iVar3 * 0xc;
      iVar7 = *(int *)(iVar8 + 4);
      if (iVar7 == 0) {
        *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);
        return 0;
      }
      iVar10 = iVar9 * 0xc;
      iVar8 = **(int **)(iVar8 + 8);
      iVar6 = iVar6 + iVar10;
      if (iVar7 != 1) {
        iVar9 = param_1[2];
        *(undefined4 *)(iVar6 + 4) = 0;
        iVar4 = iVar9 + -1;
        iVar6 = iVar5 + iVar4 * 8;
        if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 < 1)) goto LAB_00019c88;
        iVar7 = param_1[4] + iVar9 * 4;
        iVar5 = (iVar5 + iVar9 * 8) - iVar6;
        goto LAB_00019ad4;
      }
      *(undefined4 *)(iVar6 + 4) = 0;
      if ((iVar3 == param_4) && (iVar3 != iVar9)) {
        iVar5 = FUN_000184c8(iVar6,iVar8);
        if (iVar5 == 0) {
          return 0xc;
        }
        return 0;
      }
      param_5 = param_5 | (uint)(*(int *)(iVar4 + 4) << 8) >> 0x16;
      iVar9 = FUN_000198ec(param_1,iVar8,param_5);
      if (iVar9 == -1) {
        return 0xc;
      }
      iVar5 = FUN_000184c8(param_1[5] + iVar10,iVar9);
      if (iVar5 == 0) {
        return 0xc;
      }
      iVar5 = *param_1;
      iVar6 = param_1[5];
      iVar4 = iVar5 + iVar8 * 8;
      iVar3 = iVar8;
      cVar2 = *(char *)(iVar4 + 4);
    }
    param_2 = *(int *)(param_1[3] + iVar3 * 4);
    *(undefined4 *)(iVar6 + iVar9 * 0xc + 4) = 0;
    param_3 = FUN_000198ec(param_1,param_2,param_5);
    if (param_3 == -1) {
      return 0xc;
    }
    iVar5 = param_1[5];
    *(undefined4 *)(param_1[3] + iVar9 * 4) = *(undefined4 *)(param_1[3] + iVar3 * 4);
    iVar5 = FUN_000184c8(iVar5 + iVar9 * 0xc,param_3);
    if (iVar5 == 0) {
      return 0xc;
    }
  } while( true );
  while( true ) {
    iVar6 = iVar6 + iVar5 + -0x10;
    iVar4 = iVar4 + -1;
    if (((*(uint *)(iVar6 + 4) & 0x2000) == 0) || (iVar4 == 0)) break;
LAB_00019ad4:
    piVar1 = (int *)(iVar7 + -4);
    iVar7 = iVar7 + -4;
    if ((*piVar1 == iVar8) && (param_5 == (uint)(*(int *)(iVar6 + 4) << 8) >> 0x16)) {
      iVar6 = FUN_000184c8();
      iVar5 = 0xc;
      goto joined_r0x00019afc;
    }
  }
LAB_00019c88:
  iVar5 = FUN_000198ec(param_1,iVar8,param_5);
  if ((iVar5 == -1) || (iVar6 = FUN_000184c8(param_1[5] + iVar10,iVar5), iVar6 == 0)) {
    return 0xc;
  }
  iVar5 = MASKED(param_1,iVar8,iVar5,param_4,param_5);
  iVar6 = iVar5;
joined_r0x00019afc:
  if (iVar6 == 0) {
    return iVar5;
  }
  param_2 = *(int *)(*(int *)(param_1[5] + iVar3 * 0xc + 8) + 4);
  param_3 = FUN_000198ec(param_1,param_2,param_5);
  if (param_3 == -1) {
    return 0xc;
  }
  iVar5 = FUN_000184c8(param_1[5] + iVar10,param_3);
  if (iVar5 == 0) {
    return 0xc;
  }
  goto LAB_00019a18;
}

