
void coproc_setvars(coproc *cp)

{
  undefined *puVar1;
  int iVar2;
  coproc *cp_00;
  SHELL_VAR *pSVar3;
  uint uVar4;
  undefined4 uVar5;
  char *pcVar6;
  int iVar7;
  char *pcVar8;
  char *in_a1;
  undefined4 uVar9;
  WORD_DESC w;
  
  puVar1 = PTR___stack_chk_guard_001464dc;
  iVar7 = *(int *)PTR___stack_chk_guard_001464dc;
  cp_00 = cp;
  if (cp->c_name != (char *)0x0) {
    in_a1 = (char *)0x1;
    cp_00 = (coproc *)&w;
    w.flags = 0;
    w.word = cp->c_name;
    iVar2 = check_identifier((WORD_DESC *)cp_00,1);
    if (iVar2 != 0) {
      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);
      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);
      pSVar3 = find_variable(cp->c_name);
      if (pSVar3 == (SHELL_VAR *)0x0) {
        in_a1 = (char *)0x1;
        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);
        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;
        if (pSVar3 != (SHELL_VAR *)0x0) {
          uVar4 = pSVar3->attributes;
          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;
          (*(code *)PTR_free_001464fc)(cp->c_name);
          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);
          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
          in_a1 = pSVar3->value;
          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);
          cp->c_name = pcVar6;
          pSVar3 = make_new_array_variable(pcVar6);
          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;
        }
        pSVar3 = make_new_array_variable(cp->c_name);
        uVar4 = pSVar3->attributes;
      }
      else {
LAB_0004a418:
        uVar4 = pSVar3->attributes;
LAB_0004a420:
        if ((uVar4 & 0x4002) != 0) {
          if ((uVar4 & 2) != 0) {
            err_readonly(cp->c_name);
          }
LAB_0004a55c:
          (*(code *)PTR_free_001464fc)();
          goto LAB_0004a3b4;
        }
      }
      if ((uVar4 & 4) == 0) {
        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);
      }
      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);
      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);
      (*(code *)PTR_free_001464fc)(uVar5);
      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);
      uVar9 = 0;
      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);
      (*(code *)PTR_free_001464fc)(uVar5);
      (*(code *)PTR___sprintf_chk_001461f0)
                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);
      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);
      in_a1 = pcVar6;
      bind_variable((char *)cp_00,pcVar6,0);
      (*(code *)PTR_free_001464fc)(pcVar6);
      (*(code *)PTR_free_001464fc)();
    }
  }
LAB_0004a3b4:
  if (iVar7 == *(int *)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00146488)();
  pcVar6 = (char *)cp_00->c_rfd;
  pcVar8 = (char *)cp_00->c_wfd;
  if ((int)pcVar6 < 0) {
    if ((int)pcVar8 < 0) {
      return;
    }
LAB_0004a668:
    if (in_a1 != pcVar8) {
      return;
    }
  }
  else {
    if (pcVar6 != in_a1) {
      if ((int)pcVar8 < 0) {
        return;
      }
      goto LAB_0004a668;
    }
    cp_00->c_rfd = -1;
    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;
  }
  cp_00->c_wfd = -1;
LAB_0004a690:
  coproc_setvars(cp_00);
  return;
}



void coproc_setvars(int *param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  undefined *puVar4;
  uint uVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 uVar8;
  int local_24 [4];
  
  puVar1 = PTR___stack_chk_guard_001464dc;
  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;
  piVar3 = param_1;
  if (*param_1 != 0) {
    param_2 = 1;
    piVar3 = local_24;
    local_24[1] = 0;
    local_24[0] = *param_1;
    iVar2 = check_identifier();
    if (iVar2 != 0) {
      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);
      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);
      puVar4 = (undefined *)find_variable(*param_1);
      if (puVar4 == (undefined *)0x0) {
        param_2 = 1;
        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);
        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;
        if (puVar4 != (undefined *)0x0) {
          uVar5 = *(uint *)(puVar4 + 0x14);
          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;
          (*(code *)PTR_free_001464fc)(*param_1);
          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));
          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
          param_2 = *(int *)(puVar4 + 4);
          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);
          *param_1 = iVar2;
          puVar4 = (undefined *)make_new_array_variable(iVar2);
          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;
        }
        puVar4 = (undefined *)make_new_array_variable(*param_1);
        uVar5 = *(uint *)(puVar4 + 0x14);
      }
      else {
LAB_0004a418:
        uVar5 = *(uint *)(puVar4 + 0x14);
LAB_0004a420:
        if ((uVar5 & 0x4002) != 0) {
          if ((uVar5 & 2) != 0) {
            err_readonly(*param_1);
          }
LAB_0004a55c:
          (*(code *)PTR_free_001464fc)();
          goto LAB_0004a3b4;
        }
      }
      if ((uVar5 & 4) == 0) {
        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);
      }
      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);
      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);
      (*(code *)PTR_free_001464fc)(uVar6);
      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);
      uVar8 = 0;
      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);
      (*(code *)PTR_free_001464fc)(uVar6);
      (*(code *)PTR___sprintf_chk_001461f0)
                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);
      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);
      param_2 = iVar2;
      bind_variable(piVar3,iVar2,0);
      (*(code *)PTR_free_001464fc)(iVar2);
      (*(code *)PTR_free_001464fc)();
    }
  }
LAB_0004a3b4:
  if (local_24[2] == *(int *)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00146488)();
  iVar2 = piVar3[2];
  iVar7 = piVar3[3];
  if (iVar2 < 0) {
    if (iVar7 < 0) {
      return;
    }
LAB_0004a668:
    if (param_2 != iVar7) {
      return;
    }
  }
  else {
    if (iVar2 != param_2) {
      if (iVar7 < 0) {
        return;
      }
      goto LAB_0004a668;
    }
    piVar3[2] = -1;
    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;
  }
  piVar3[3] = -1;
LAB_0004a690:
  coproc_setvars();
  return;
}


lui gp,0x10
addiu gp,gp,0x21ec
addu gp,gp,t9
addiu sp,sp,-0x48
lw v0,0x0(a0)
sw s1,0x38(sp)
lw s1,-0x6064(gp)
sw gp,0x18(sp)
sw ra,0x44(sp)
sw s3,0x40(sp)
sw s2,0x3c(sp)
sw s0,0x34(sp)
lw v1,0x0(s1)
sw v1,0x2c(sp)
beq v0,zero,0x0004a3b4
_lw t9,-0x78dc(gp)
or s0,a0,zero
li a1,0x1
sw v0,0x24(sp)
addiu a0,sp,0x24
bal 0x00040bf8
_sw zero,0x28(sp)
bne v0,zero,0x0004a3dc
_lw gp,0x18(sp)
lw v1,0x2c(sp)
lw v0,0x0(s1)
bne v1,v0,0x0004a634
_lw ra,0x44(sp)
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x48
lw t9,-0x61b0(gp)
jalr t9
_lw a0,0x0(s0)
lw gp,0x18(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x10
lw gp,0x18(sp)
or s3,v0,zero
lw t9,-0x7db8(gp)
bal 0x00055be0
_lw a0,0x0(s0)
lw gp,0x18(sp)
beq v0,zero,0x0004a570
_or s2,v0,zero
lw v0,0x14(s2)
andi v1,v0,0x4002
bne v1,zero,0x0004a550
_nop
andi v0,v0,0x4
beq v0,zero,0x0004a540
_lw t9,-0x78d8(gp)
lw a1,0x8(s0)
lw t9,-0x7d9c(gp)
jalr t9
_sra a0,a1,0x1f
or a3,zero,zero
lw gp,0x18(sp)
or a2,zero,zero
lw a0,0x0(s0)
or s2,v0,zero
sw v0,0x10(sp)
lw t9,-0x78d4(gp)
jalr t9
_sw zero,0x14(sp)
lw gp,0x18(sp)
lw t9,-0x6044(gp)
jalr t9
_or a0,s2,zero
lw gp,0x18(sp)
lw a1,0xc(s0)
lw t9,-0x7d9c(gp)
jalr t9
_sra a0,a1,0x1f
li a3,0x1
lw gp,0x18(sp)
or a2,zero,zero
lw a0,0x0(s0)
or s2,v0,zero
sw v0,0x10(sp)
lw t9,-0x78d4(gp)
jalr t9
_sw zero,0x14(sp)
lw gp,0x18(sp)
lw t9,-0x6044(gp)
jalr t9
_or a0,s2,zero
li a2,-0x1
lw gp,0x18(sp)
li a1,0x1
lw v0,0x0(s0)
or a0,s3,zero
lw a3,-0x7fc8(gp)
lw t9,-0x6350(gp)
sw v0,0x10(sp)
jalr t9
_addiu a3,a3,0x69a0
lw gp,0x18(sp)
lw a1,0x4(s0)
lw t9,-0x7d9c(gp)
jalr t9
_sra a0,a1,0x1f
or a2,zero,zero
lw gp,0x18(sp)
or a1,v0,zero
or a0,s3,zero
lw t9,-0x7dc0(gp)
bal 0x0005a1fc
_or s0,v0,zero
lw gp,0x18(sp)
lw t9,-0x6044(gp)
jalr t9
_or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x6044(gp)
jalr t9
_or a0,s3,zero
b 0x0004a3b4
_lw gp,0x18(sp)
jalr t9
_or a0,s2,zero
b 0x0004a434
_lw gp,0x18(sp)
andi v0,v0,0x2
bne v0,zero,0x0004a624
_lw t9,-0x78d0(gp)
lw t9,-0x6044(gp)
jalr t9
_or a0,s3,zero
b 0x0004a3b4
_lw gp,0x18(sp)
lw t9,-0x78cc(gp)
li a1,0x1
bal 0x00056544
_lw a0,0x0(s0)
lw gp,0x18(sp)
lw v1,-0x78c8(gp)
beq v0,v1,0x0004a55c
_or s2,v0,zero
beq v0,zero,0x0004a60c
_lw t9,-0x78c4(gp)
lw v0,0x14(v0)
andi v1,v0,0x800
beq v1,zero,0x0004a420
_andi v1,v0,0x4002
lw t9,-0x6044(gp)
jalr t9
_lw a0,0x0(s0)
lw gp,0x18(sp)
lw t9,-0x61b0(gp)
jalr t9
_lw a0,0x4(s2)
lw gp,0x18(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
lw gp,0x18(sp)
or a0,v0,zero
lw t9,-0x6128(gp)
jalr t9
_lw a1,0x4(s2)
lw gp,0x18(sp)
or a0,v0,zero
lw t9,-0x78c4(gp)
bal 0x00059f44
_sw v0,0x0(s0)
lw gp,0x18(sp)
bne v0,zero,0x0004a418
_or s2,v0,zero
lw t9,-0x78c4(gp)
bal 0x00059f44
_lw a0,0x0(s0)
or s2,v0,zero
lw gp,0x18(sp)
b 0x0004a428
_lw v0,0x14(v0)
bal 0x00060270
_lw a0,0x0(s0)
b 0x0004a55c
_lw gp,0x18(sp)
lw t9,-0x60b8(gp)
jalr t9
_nop
(translation_unit "void coproc_setvars(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}\n\n" (function_definition "void coproc_setvars(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}" primitive_type (function_declarator "coproc_setvars(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar1 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_24[2] = *(int *)PTR___stack_chk_guard_001464dc" (subscript_expression "local_24[2]" identifier [ number_literal ]) = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar3 = param_1;" (assignment_expression "piVar3 = param_1" identifier = identifier) ;) (if_statement "if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" { (expression_statement "param_2 = 1;" (assignment_expression "param_2 = 1" identifier = number_literal) ;) (expression_statement "piVar3 = local_24;" (assignment_expression "piVar3 = local_24" identifier = identifier) ;) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[0] = *param_1;" (assignment_expression "local_24[0] = *param_1" (subscript_expression "local_24[0]" identifier [ number_literal ]) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = check_identifier();" (assignment_expression "iVar2 = check_identifier()" identifier = (call_expression "check_identifier()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(*param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(*param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" identifier = (cast_expression "(int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = (undefined *)find_variable(*param_1);" (assignment_expression "puVar4 = (undefined *)find_variable(*param_1)" identifier = (cast_expression "(undefined *)find_variable(*param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find_variable(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))))) ;) (if_statement "if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" if (parenthesized_expression "(puVar4 == (undefined *)0x0)" ( (binary_expression "puVar4 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }" { (expression_statement "param_2 = 1;" (assignment_expression "param_2 = 1" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);" (assignment_expression "puVar4 = (undefined *)find_variable_nameref_for_create(*param_1)" identifier = (cast_expression "(undefined *)find_variable_nameref_for_create(*param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find_variable_nameref_for_create(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))))) ;) (if_statement "if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;" if (parenthesized_expression "(puVar4 == PTR_nameref_invalid_value_00144c78)" ( (binary_expression "puVar4 == PTR_nameref_invalid_value_00144c78" identifier == identifier) )) (goto_statement "goto LAB_0004a55c;" goto statement_identifier ;)) (if_statement "if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }" if (parenthesized_expression "(puVar4 != (undefined *)0x0)" ( (binary_expression "puVar4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }" { (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar4 + 0x14)" * (cast_expression "(uint *)(puVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x14)" ( (binary_expression "puVar4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((uVar5 & 0x800) == 0) goto LAB_0004a420;" if (parenthesized_expression "((uVar5 & 0x800) == 0)" ( (binary_expression "(uVar5 & 0x800) == 0" (parenthesized_expression "(uVar5 & 0x800)" ( (binary_expression "uVar5 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0004a420;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_free_001464fc)(*param_1);" (call_expression "(*(code *)PTR_free_001464fc)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4))" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4))" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar4 + 4))" ( (pointer_expression "*(undefined4 *)(puVar4 + 4)" * (cast_expression "(undefined4 *)(puVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "param_2 = *(int *)(puVar4 + 4);" (assignment_expression "param_2 = *(int *)(puVar4 + 4)" identifier = (pointer_expression "*(int *)(puVar4 + 4)" * (cast_expression "(int *)(puVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);" (assignment_expression "iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar6)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar4 = (undefined *)make_new_array_variable(iVar2);" (assignment_expression "puVar4 = (undefined *)make_new_array_variable(iVar2)" identifier = (cast_expression "(undefined *)make_new_array_variable(iVar2)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "make_new_array_variable(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (if_statement "if (puVar4 != (undefined *)0x0) goto LAB_0004a418;" if (parenthesized_expression "(puVar4 != (undefined *)0x0)" ( (binary_expression "puVar4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004a418;" goto statement_identifier ;)) })) (expression_statement "puVar4 = (undefined *)make_new_array_variable(*param_1);" (assignment_expression "puVar4 = (undefined *)make_new_array_variable(*param_1)" identifier = (cast_expression "(undefined *)make_new_array_variable(*param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "make_new_array_variable(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))))) ;) (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar4 + 0x14)" * (cast_expression "(uint *)(puVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x14)" ( (binary_expression "puVar4 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" else (compound_statement "{\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" { (labeled_statement "LAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);" statement_identifier : (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar4 + 0x14)" * (cast_expression "(uint *)(puVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x14)" ( (binary_expression "puVar4 + 0x14" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" statement_identifier : (if_statement "if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" if (parenthesized_expression "((uVar5 & 0x4002) != 0)" ( (binary_expression "(uVar5 & 0x4002) != 0" (parenthesized_expression "(uVar5 & 0x4002)" ( (binary_expression "uVar5 & 0x4002" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" { (if_statement "if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }" if (parenthesized_expression "((uVar5 & 2) != 0)" ( (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            err_readonly(*param_1);\n          }" { (expression_statement "err_readonly(*param_1);" (call_expression "err_readonly(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (labeled_statement "LAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();" statement_identifier : (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_0004a3b4;" goto statement_identifier ;) }))) }))) (if_statement "if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }" if (parenthesized_expression "((uVar5 & 4) == 0)" ( (binary_expression "(uVar5 & 4) == 0" (parenthesized_expression "(uVar5 & 4)" ( (binary_expression "uVar5 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }" { (expression_statement "(*(code *)PTR_convert_var_to_array_00144c68)(puVar4);" (call_expression "(*(code *)PTR_convert_var_to_array_00144c68)(puVar4)" (parenthesized_expression "(*(code *)PTR_convert_var_to_array_00144c68)" ( (pointer_expression "*(code *)PTR_convert_var_to_array_00144c68" * (cast_expression "(code *)PTR_convert_var_to_array_00144c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) })) (expression_statement "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);" (assignment_expression "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2] >> 0x1f)" ( (binary_expression "param_1[2] >> 0x1f" (subscript_expression "param_1[2]" identifier [ number_literal ]) >> number_literal) )))) ;) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" ( (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" * (cast_expression "(code *)PTR_bind_array_variable_00144c6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(uVar6);" (call_expression "(*(code *)PTR_free_001464fc)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);" (assignment_expression "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3] >> 0x1f)" ( (binary_expression "param_1[3] >> 0x1f" (subscript_expression "param_1[3]" identifier [ number_literal ]) >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" ( (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" * (cast_expression "(code *)PTR_bind_array_variable_00144c6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(uVar6);" (call_expression "(*(code *)PTR_free_001464fc)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);" (call_expression "(*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_001461f0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_001461f0" * (cast_expression "(code *)PTR___sprintf_chk_001461f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_00144578 + 0x69a0" identifier + number_literal) , (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);" (assignment_expression "iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1] >> 0x1f)" ( (binary_expression "param_1[1] >> 0x1f" (subscript_expression "param_1[1]" identifier [ number_literal ]) >> number_literal) )))) ;) (expression_statement "param_2 = iVar2;" (assignment_expression "param_2 = iVar2" identifier = identifier) ;) (expression_statement "bind_variable(piVar3,iVar2,0);" (call_expression "bind_variable(piVar3,iVar2,0)" identifier (argument_list "(piVar3,iVar2,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(iVar2);" (call_expression "(*(code *)PTR_free_001464fc)(iVar2)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) })) (labeled_statement "LAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }" statement_identifier : (if_statement "if (local_24[2] == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_24[2] == *(int *)puVar1)" ( (binary_expression "local_24[2] == *(int *)puVar1" (subscript_expression "local_24[2]" identifier [ number_literal ]) == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = piVar3[2];" (assignment_expression "iVar2 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar3[3];" (assignment_expression "iVar7 = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }" { (if_statement "if (iVar7 < 0) {\n      return;\n    }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }" statement_identifier : (if_statement "if (param_2 != iVar7) {\n      return;\n    }" if (parenthesized_expression "(param_2 != iVar7)" ( (binary_expression "param_2 != iVar7" identifier != identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) }))) }) (else_clause "else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" else (compound_statement "{\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" { (if_statement "if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" if (parenthesized_expression "(iVar2 != param_2)" ( (binary_expression "iVar2 != param_2" identifier != identifier) )) (compound_statement "{\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" { (if_statement "if (iVar7 < 0) {\n        return;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (goto_statement "goto LAB_0004a668;" goto statement_identifier ;) })) (expression_statement "piVar3[2] = -1;" (assignment_expression "piVar3[2] = -1" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;" if (parenthesized_expression "((iVar7 < 0) || (iVar2 != iVar7))" ( (binary_expression "(iVar7 < 0) || (iVar2 != iVar7)" (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar2 != iVar7)" ( (binary_expression "iVar2 != iVar7" identifier != identifier) ))) )) (goto_statement "goto LAB_0004a690;" goto statement_identifier ;)) }))) (expression_statement "piVar3[3] = -1;" (assignment_expression "piVar3[3] = -1" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_0004a690:\n  coproc_setvars();" statement_identifier : (expression_statement "coproc_setvars();" (call_expression "coproc_setvars()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void coproc_setvars(coproc *cp)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  coproc *cp_00;\n  SHELL_VAR *pSVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int iVar7;\n  char *pcVar8;\n  char *in_a1;\n  undefined4 uVar9;\n  WORD_DESC w;\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  iVar7 = *(int *)PTR___stack_chk_guard_001464dc;\n  cp_00 = cp;\n  if (cp->c_name != (char *)0x0) {\n    in_a1 = (char *)0x1;\n    cp_00 = (coproc *)&w;\n    w.flags = 0;\n    w.word = cp->c_name;\n    iVar2 = check_identifier((WORD_DESC *)cp_00,1);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (iVar7 == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  pcVar6 = (char *)cp_00->c_rfd;\n  pcVar8 = (char *)cp_00->c_wfd;\n  if ((int)pcVar6 < 0) {\n    if ((int)pcVar8 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (in_a1 != pcVar8) {\n      return;\n    }\n  }\n  else {\n    if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    cp_00->c_rfd = -1;\n    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;\n  }\n  cp_00->c_wfd = -1;\nLAB_0004a690:\n  coproc_setvars(cp_00);\n  return;\n}\n\n" (function_definition "void coproc_setvars(coproc *cp)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  coproc *cp_00;\n  SHELL_VAR *pSVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int iVar7;\n  char *pcVar8;\n  char *in_a1;\n  undefined4 uVar9;\n  WORD_DESC w;\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  iVar7 = *(int *)PTR___stack_chk_guard_001464dc;\n  cp_00 = cp;\n  if (cp->c_name != (char *)0x0) {\n    in_a1 = (char *)0x1;\n    cp_00 = (coproc *)&w;\n    w.flags = 0;\n    w.word = cp->c_name;\n    iVar2 = check_identifier((WORD_DESC *)cp_00,1);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (iVar7 == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  pcVar6 = (char *)cp_00->c_rfd;\n  pcVar8 = (char *)cp_00->c_wfd;\n  if ((int)pcVar6 < 0) {\n    if ((int)pcVar8 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (in_a1 != pcVar8) {\n      return;\n    }\n  }\n  else {\n    if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    cp_00->c_rfd = -1;\n    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;\n  }\n  cp_00->c_wfd = -1;\nLAB_0004a690:\n  coproc_setvars(cp_00);\n  return;\n}" primitive_type (function_declarator "coproc_setvars(coproc *cp)" identifier (parameter_list "(coproc *cp)" ( (parameter_declaration "coproc *cp" type_identifier (pointer_declarator "*cp" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  coproc *cp_00;\n  SHELL_VAR *pSVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  int iVar7;\n  char *pcVar8;\n  char *in_a1;\n  undefined4 uVar9;\n  WORD_DESC w;\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  iVar7 = *(int *)PTR___stack_chk_guard_001464dc;\n  cp_00 = cp;\n  if (cp->c_name != (char *)0x0) {\n    in_a1 = (char *)0x1;\n    cp_00 = (coproc *)&w;\n    w.flags = 0;\n    w.word = cp->c_name;\n    iVar2 = check_identifier((WORD_DESC *)cp_00,1);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (iVar7 == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  pcVar6 = (char *)cp_00->c_rfd;\n  pcVar8 = (char *)cp_00->c_wfd;\n  if ((int)pcVar6 < 0) {\n    if ((int)pcVar8 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (in_a1 != pcVar8) {\n      return;\n    }\n  }\n  else {\n    if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    cp_00->c_rfd = -1;\n    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;\n  }\n  cp_00->c_wfd = -1;\nLAB_0004a690:\n  coproc_setvars(cp_00);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "coproc *cp_00;" type_identifier (pointer_declarator "*cp_00" * identifier) ;) (declaration "SHELL_VAR *pSVar3;" type_identifier (pointer_declarator "*pSVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *in_a1;" primitive_type (pointer_declarator "*in_a1" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "WORD_DESC w;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar1 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "iVar7 = *(int *)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "cp_00 = cp;" (assignment_expression "cp_00 = cp" identifier = identifier) ;) (if_statement "if (cp->c_name != (char *)0x0) {\n    in_a1 = (char *)0x1;\n    cp_00 = (coproc *)&w;\n    w.flags = 0;\n    w.word = cp->c_name;\n    iVar2 = check_identifier((WORD_DESC *)cp_00,1);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" if (parenthesized_expression "(cp->c_name != (char *)0x0)" ( (binary_expression "cp->c_name != (char *)0x0" (field_expression "cp->c_name" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    in_a1 = (char *)0x1;\n    cp_00 = (coproc *)&w;\n    w.flags = 0;\n    w.word = cp->c_name;\n    iVar2 = check_identifier((WORD_DESC *)cp_00,1);\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" { (expression_statement "in_a1 = (char *)0x1;" (assignment_expression "in_a1 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cp_00 = (coproc *)&w;" (assignment_expression "cp_00 = (coproc *)&w" identifier = (cast_expression "(coproc *)&w" ( (type_descriptor "coproc *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&w" & identifier))) ;) (expression_statement "w.flags = 0;" (assignment_expression "w.flags = 0" (field_expression "w.flags" identifier . field_identifier) = number_literal) ;) (expression_statement "w.word = cp->c_name;" (assignment_expression "w.word = cp->c_name" (field_expression "w.word" identifier . field_identifier) = (field_expression "cp->c_name" identifier -> field_identifier)) ;) (expression_statement "iVar2 = check_identifier((WORD_DESC *)cp_00,1);" (assignment_expression "iVar2 = check_identifier((WORD_DESC *)cp_00,1)" identifier = (call_expression "check_identifier((WORD_DESC *)cp_00,1)" identifier (argument_list "((WORD_DESC *)cp_00,1)" ( (cast_expression "(WORD_DESC *)cp_00" ( (type_descriptor "WORD_DESC *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);\n      cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      pSVar3 = find_variable(cp->c_name);\n      if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);\n      uVar9 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);\n      (*(code *)PTR_free_001464fc)(uVar5);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);\n      pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);\n      in_a1 = pcVar6;\n      bind_variable((char *)cp_00,pcVar6,0);\n      (*(code *)PTR_free_001464fc)(pcVar6);\n      (*(code *)PTR_free_001464fc)();\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(cp->c_name)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(cp->c_name)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) )))) ;) (expression_statement "cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);" (assignment_expression "cp_00 = (coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" identifier = (cast_expression "(coproc *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" ( (type_descriptor "coproc *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "pSVar3 = find_variable(cp->c_name);" (assignment_expression "pSVar3 = find_variable(cp->c_name)" identifier = (call_expression "find_variable(cp->c_name)" identifier (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) )))) ;) (if_statement "if (pSVar3 == (SHELL_VAR *)0x0) {\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }\n      else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" if (parenthesized_expression "(pSVar3 == (SHELL_VAR *)0x0)" ( (binary_expression "pSVar3 == (SHELL_VAR *)0x0" identifier == (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        in_a1 = (char *)0x1;\n        pSVar3 = find_variable_nameref_for_create(cp->c_name,1);\n        if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }\n        pSVar3 = make_new_array_variable(cp->c_name);\n        uVar4 = pSVar3->attributes;\n      }" { (expression_statement "in_a1 = (char *)0x1;" (assignment_expression "in_a1 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pSVar3 = find_variable_nameref_for_create(cp->c_name,1);" (assignment_expression "pSVar3 = find_variable_nameref_for_create(cp->c_name,1)" identifier = (call_expression "find_variable_nameref_for_create(cp->c_name,1)" identifier (argument_list "(cp->c_name,1)" ( (field_expression "cp->c_name" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if (pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;" if (parenthesized_expression "(pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78)" ( (binary_expression "pSVar3 == (SHELL_VAR *)PTR_nameref_invalid_value_00144c78" identifier == (cast_expression "(SHELL_VAR *)PTR_nameref_invalid_value_00144c78" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (goto_statement "goto LAB_0004a55c;" goto statement_identifier ;)) (if_statement "if (pSVar3 != (SHELL_VAR *)0x0) {\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }" if (parenthesized_expression "(pSVar3 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar3 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar4 = pSVar3->attributes;\n          if ((uVar4 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(cp->c_name);\n          iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          in_a1 = pSVar3->value;\n          pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);\n          cp->c_name = pcVar6;\n          pSVar3 = make_new_array_variable(pcVar6);\n          if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;\n        }" { (expression_statement "uVar4 = pSVar3->attributes;" (assignment_expression "uVar4 = pSVar3->attributes" identifier = (field_expression "pSVar3->attributes" identifier -> field_identifier)) ;) (if_statement "if ((uVar4 & 0x800) == 0) goto LAB_0004a420;" if (parenthesized_expression "((uVar4 & 0x800) == 0)" ( (binary_expression "(uVar4 & 0x800) == 0" (parenthesized_expression "(uVar4 & 0x800)" ( (binary_expression "uVar4 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0004a420;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_free_001464fc)(cp->c_name);" (call_expression "(*(code *)PTR_free_001464fc)(cp->c_name)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) ))) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(pSVar3->value)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pSVar3->value)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pSVar3->value)" ( (field_expression "pSVar3->value" identifier -> field_identifier) )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "in_a1 = pSVar3->value;" (assignment_expression "in_a1 = pSVar3->value" identifier = (field_expression "pSVar3->value" identifier -> field_identifier)) ;) (expression_statement "pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_strcpy_00146418)(uVar5)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_00146418)(uVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "cp->c_name = pcVar6;" (assignment_expression "cp->c_name = pcVar6" (field_expression "cp->c_name" identifier -> field_identifier) = identifier) ;) (expression_statement "pSVar3 = make_new_array_variable(pcVar6);" (assignment_expression "pSVar3 = make_new_array_variable(pcVar6)" identifier = (call_expression "make_new_array_variable(pcVar6)" identifier (argument_list "(pcVar6)" ( identifier )))) ;) (if_statement "if (pSVar3 != (SHELL_VAR *)0x0) goto LAB_0004a418;" if (parenthesized_expression "(pSVar3 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar3 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004a418;" goto statement_identifier ;)) })) (expression_statement "pSVar3 = make_new_array_variable(cp->c_name);" (assignment_expression "pSVar3 = make_new_array_variable(cp->c_name)" identifier = (call_expression "make_new_array_variable(cp->c_name)" identifier (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) )))) ;) (expression_statement "uVar4 = pSVar3->attributes;" (assignment_expression "uVar4 = pSVar3->attributes" identifier = (field_expression "pSVar3->attributes" identifier -> field_identifier)) ;) }) (else_clause "else {\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" else (compound_statement "{\nLAB_0004a418:\n        uVar4 = pSVar3->attributes;\nLAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" { (labeled_statement "LAB_0004a418:\n        uVar4 = pSVar3->attributes;" statement_identifier : (expression_statement "uVar4 = pSVar3->attributes;" (assignment_expression "uVar4 = pSVar3->attributes" identifier = (field_expression "pSVar3->attributes" identifier -> field_identifier)) ;)) (labeled_statement "LAB_0004a420:\n        if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" statement_identifier : (if_statement "if ((uVar4 & 0x4002) != 0) {\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" if (parenthesized_expression "((uVar4 & 0x4002) != 0)" ( (binary_expression "(uVar4 & 0x4002) != 0" (parenthesized_expression "(uVar4 & 0x4002)" ( (binary_expression "uVar4 & 0x4002" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" { (if_statement "if ((uVar4 & 2) != 0) {\n            err_readonly(cp->c_name);\n          }" if (parenthesized_expression "((uVar4 & 2) != 0)" ( (binary_expression "(uVar4 & 2) != 0" (parenthesized_expression "(uVar4 & 2)" ( (binary_expression "uVar4 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            err_readonly(cp->c_name);\n          }" { (expression_statement "err_readonly(cp->c_name);" (call_expression "err_readonly(cp->c_name)" identifier (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) ))) ;) })) (labeled_statement "LAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();" statement_identifier : (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_0004a3b4;" goto statement_identifier ;) }))) }))) (if_statement "if ((uVar4 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }" if (parenthesized_expression "((uVar4 & 4) == 0)" ( (binary_expression "(uVar4 & 4) == 0" (parenthesized_expression "(uVar4 & 4)" ( (binary_expression "uVar4 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);\n      }" { (expression_statement "(*(code *)PTR_convert_var_to_array_00144c68)(pSVar3);" (call_expression "(*(code *)PTR_convert_var_to_array_00144c68)(pSVar3)" (parenthesized_expression "(*(code *)PTR_convert_var_to_array_00144c68)" ( (pointer_expression "*(code *)PTR_convert_var_to_array_00144c68" * (cast_expression "(code *)PTR_convert_var_to_array_00144c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pSVar3)" ( identifier ))) ;) })) (expression_statement "uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f);" (assignment_expression "uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(cp->c_rfd >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_rfd >> 0x1f)" ( (binary_expression "cp->c_rfd >> 0x1f" (field_expression "cp->c_rfd" identifier -> field_identifier) >> number_literal) )))) ;) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" ( (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" * (cast_expression "(code *)PTR_bind_array_variable_00144c6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(uVar5);" (call_expression "(*(code *)PTR_free_001464fc)(uVar5)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f);" (assignment_expression "uVar5 = (*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(cp->c_wfd >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_wfd >> 0x1f)" ( (binary_expression "cp->c_wfd >> 0x1f" (field_expression "cp->c_wfd" identifier -> field_identifier) >> number_literal) )))) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(cp->c_name)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" ( (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" * (cast_expression "(code *)PTR_bind_array_variable_00144c6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_name)" ( (field_expression "cp->c_name" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(uVar5);" (call_expression "(*(code *)PTR_free_001464fc)(uVar5)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9);" (call_expression "(*(code *)PTR___sprintf_chk_001461f0)\n                (cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_001461f0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_001461f0" * (cast_expression "(code *)PTR___sprintf_chk_001461f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp_00,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,cp->c_name,uVar9)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_00144578 + 0x69a0" identifier + number_literal) , (field_expression "cp->c_name" identifier -> field_identifier) , identifier ))) ;) (expression_statement "pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f)" identifier = (cast_expression "(char *)(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_itos_001447a4)(cp->c_pid >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cp->c_pid >> 0x1f)" ( (binary_expression "cp->c_pid >> 0x1f" (field_expression "cp->c_pid" identifier -> field_identifier) >> number_literal) ))))) ;) (expression_statement "in_a1 = pcVar6;" (assignment_expression "in_a1 = pcVar6" identifier = identifier) ;) (expression_statement "bind_variable((char *)cp_00,pcVar6,0);" (call_expression "bind_variable((char *)cp_00,pcVar6,0)" identifier (argument_list "((char *)cp_00,pcVar6,0)" ( (cast_expression "(char *)cp_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(pcVar6);" (call_expression "(*(code *)PTR_free_001464fc)(pcVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) })) (labeled_statement "LAB_0004a3b4:\n  if (iVar7 == *(int *)puVar1) {\n    return;\n  }" statement_identifier : (if_statement "if (iVar7 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(iVar7 == *(int *)puVar1)" ( (binary_expression "iVar7 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = (char *)cp_00->c_rfd;" (assignment_expression "pcVar6 = (char *)cp_00->c_rfd" identifier = (cast_expression "(char *)cp_00->c_rfd" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "cp_00->c_rfd" identifier -> field_identifier))) ;) (expression_statement "pcVar8 = (char *)cp_00->c_wfd;" (assignment_expression "pcVar8 = (char *)cp_00->c_wfd" identifier = (cast_expression "(char *)cp_00->c_wfd" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "cp_00->c_wfd" identifier -> field_identifier))) ;) (if_statement "if ((int)pcVar6 < 0) {\n    if ((int)pcVar8 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (in_a1 != pcVar8) {\n      return;\n    }\n  }\n  else {\n    if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    cp_00->c_rfd = -1;\n    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;\n  }" if (parenthesized_expression "((int)pcVar6 < 0)" ( (binary_expression "(int)pcVar6 < 0" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if ((int)pcVar8 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (in_a1 != pcVar8) {\n      return;\n    }\n  }" { (if_statement "if ((int)pcVar8 < 0) {\n      return;\n    }" if (parenthesized_expression "((int)pcVar8 < 0)" ( (binary_expression "(int)pcVar8 < 0" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0004a668:\n    if (in_a1 != pcVar8) {\n      return;\n    }" statement_identifier : (if_statement "if (in_a1 != pcVar8) {\n      return;\n    }" if (parenthesized_expression "(in_a1 != pcVar8)" ( (binary_expression "in_a1 != pcVar8" identifier != identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) }))) }) (else_clause "else {\n    if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    cp_00->c_rfd = -1;\n    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;\n  }" else (compound_statement "{\n    if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    cp_00->c_rfd = -1;\n    if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;\n  }" { (if_statement "if (pcVar6 != in_a1) {\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" if (parenthesized_expression "(pcVar6 != in_a1)" ( (binary_expression "pcVar6 != in_a1" identifier != identifier) )) (compound_statement "{\n      if ((int)pcVar8 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" { (if_statement "if ((int)pcVar8 < 0) {\n        return;\n      }" if (parenthesized_expression "((int)pcVar8 < 0)" ( (binary_expression "(int)pcVar8 < 0" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (goto_statement "goto LAB_0004a668;" goto statement_identifier ;) })) (expression_statement "cp_00->c_rfd = -1;" (assignment_expression "cp_00->c_rfd = -1" (field_expression "cp_00->c_rfd" identifier -> field_identifier) = number_literal) ;) (if_statement "if (((int)pcVar8 < 0) || (pcVar6 != pcVar8)) goto LAB_0004a690;" if (parenthesized_expression "(((int)pcVar8 < 0) || (pcVar6 != pcVar8))" ( (binary_expression "((int)pcVar8 < 0) || (pcVar6 != pcVar8)" (parenthesized_expression "((int)pcVar8 < 0)" ( (binary_expression "(int)pcVar8 < 0" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(pcVar6 != pcVar8)" ( (binary_expression "pcVar6 != pcVar8" identifier != identifier) ))) )) (goto_statement "goto LAB_0004a690;" goto statement_identifier ;)) }))) (expression_statement "cp_00->c_wfd = -1;" (assignment_expression "cp_00->c_wfd = -1" (field_expression "cp_00->c_wfd" identifier -> field_identifier) = number_literal) ;) (labeled_statement "LAB_0004a690:\n  coproc_setvars(cp_00);" statement_identifier : (expression_statement "coproc_setvars(cp_00);" (call_expression "coproc_setvars(cp_00)" identifier (argument_list "(cp_00)" ( identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void coproc_setvars(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}\n\n" (function_definition "void coproc_setvars(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}" primitive_type (function_declarator "coproc_setvars(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar1 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_24[2] = *(int *)PTR___stack_chk_guard_001464dc" (subscript_expression "local_24[2]" identifier [ number_literal ]) = (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" * (cast_expression "(int *)PTR___stack_chk_guard_001464dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar3 = param_1;" (assignment_expression "piVar3 = param_1" identifier = identifier) ;) (if_statement "if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" { (expression_statement "param_2 = 1;" (assignment_expression "param_2 = 1" identifier = number_literal) ;) (expression_statement "piVar3 = local_24;" (assignment_expression "piVar3 = local_24" identifier = identifier) ;) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[0] = *param_1;" (assignment_expression "local_24[0] = *param_1" (subscript_expression "local_24[0]" identifier [ number_literal ]) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = check_identifier();" (assignment_expression "iVar2 = check_identifier()" identifier = (call_expression "check_identifier()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }" { (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(*param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(*param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" identifier = (cast_expression "(int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = (undefined *)find_variable(*param_1);" (assignment_expression "puVar4 = (undefined *)find_variable(*param_1)" identifier = (cast_expression "(undefined *)find_variable(*param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find_variable(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))))) ;) (if_statement "if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" if (parenthesized_expression "(puVar4 == (undefined *)0x0)" ( (binary_expression "puVar4 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }" { (expression_statement "param_2 = 1;" (assignment_expression "param_2 = 1" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);" (assignment_expression "puVar4 = (undefined *)find_variable_nameref_for_create(*param_1)" identifier = (cast_expression "(undefined *)find_variable_nameref_for_create(*param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find_variable_nameref_for_create(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))))) ;) (if_statement "if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;" if (parenthesized_expression "(puVar4 == PTR_nameref_invalid_value_00144c78)" ( (binary_expression "puVar4 == PTR_nameref_invalid_value_00144c78" identifier == identifier) )) (goto_statement "goto LAB_0004a55c;" goto statement_identifier ;)) (if_statement "if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }" if (parenthesized_expression "(puVar4 != (undefined *)0x0)" ( (binary_expression "puVar4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }" { (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar4 + 0x14)" * (cast_expression "(uint *)(puVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x14)" ( (binary_expression "puVar4 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((uVar5 & 0x800) == 0) goto LAB_0004a420;" if (parenthesized_expression "((uVar5 & 0x800) == 0)" ( (binary_expression "(uVar5 & 0x800) == 0" (parenthesized_expression "(uVar5 & 0x800)" ( (binary_expression "uVar5 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0004a420;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_free_001464fc)(*param_1);" (call_expression "(*(code *)PTR_free_001464fc)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4))" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4))" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(puVar4 + 4))" ( (pointer_expression "*(undefined4 *)(puVar4 + 4)" * (cast_expression "(undefined4 *)(puVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2 + 1)" ( (binary_expression "iVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "param_2 = *(int *)(puVar4 + 4);" (assignment_expression "param_2 = *(int *)(puVar4 + 4)" identifier = (pointer_expression "*(int *)(puVar4 + 4)" * (cast_expression "(int *)(puVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 4)" ( (binary_expression "puVar4 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);" (assignment_expression "iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar6)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar4 = (undefined *)make_new_array_variable(iVar2);" (assignment_expression "puVar4 = (undefined *)make_new_array_variable(iVar2)" identifier = (cast_expression "(undefined *)make_new_array_variable(iVar2)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "make_new_array_variable(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (if_statement "if (puVar4 != (undefined *)0x0) goto LAB_0004a418;" if (parenthesized_expression "(puVar4 != (undefined *)0x0)" ( (binary_expression "puVar4 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004a418;" goto statement_identifier ;)) })) (expression_statement "puVar4 = (undefined *)make_new_array_variable(*param_1);" (assignment_expression "puVar4 = (undefined *)make_new_array_variable(*param_1)" identifier = (cast_expression "(undefined *)make_new_array_variable(*param_1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "make_new_array_variable(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))))) ;) (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar4 + 0x14)" * (cast_expression "(uint *)(puVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x14)" ( (binary_expression "puVar4 + 0x14" identifier + number_literal) ))))) ;) }) (else_clause "else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" else (compound_statement "{\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" { (labeled_statement "LAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);" statement_identifier : (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar4 + 0x14)" * (cast_expression "(uint *)(puVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x14)" ( (binary_expression "puVar4 + 0x14" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" statement_identifier : (if_statement "if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" if (parenthesized_expression "((uVar5 & 0x4002) != 0)" ( (binary_expression "(uVar5 & 0x4002) != 0" (parenthesized_expression "(uVar5 & 0x4002)" ( (binary_expression "uVar5 & 0x4002" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" { (if_statement "if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }" if (parenthesized_expression "((uVar5 & 2) != 0)" ( (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" ( (binary_expression "uVar5 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            err_readonly(*param_1);\n          }" { (expression_statement "err_readonly(*param_1);" (call_expression "err_readonly(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (labeled_statement "LAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();" statement_identifier : (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (goto_statement "goto LAB_0004a3b4;" goto statement_identifier ;) }))) }))) (if_statement "if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }" if (parenthesized_expression "((uVar5 & 4) == 0)" ( (binary_expression "(uVar5 & 4) == 0" (parenthesized_expression "(uVar5 & 4)" ( (binary_expression "uVar5 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }" { (expression_statement "(*(code *)PTR_convert_var_to_array_00144c68)(puVar4);" (call_expression "(*(code *)PTR_convert_var_to_array_00144c68)(puVar4)" (parenthesized_expression "(*(code *)PTR_convert_var_to_array_00144c68)" ( (pointer_expression "*(code *)PTR_convert_var_to_array_00144c68" * (cast_expression "(code *)PTR_convert_var_to_array_00144c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) })) (expression_statement "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);" (assignment_expression "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2] >> 0x1f)" ( (binary_expression "param_1[2] >> 0x1f" (subscript_expression "param_1[2]" identifier [ number_literal ]) >> number_literal) )))) ;) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" ( (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" * (cast_expression "(code *)PTR_bind_array_variable_00144c6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(uVar6);" (call_expression "(*(code *)PTR_free_001464fc)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);" (assignment_expression "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[3] >> 0x1f)" ( (binary_expression "param_1[3] >> 0x1f" (subscript_expression "param_1[3]" identifier [ number_literal ]) >> number_literal) )))) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" ( (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" * (cast_expression "(code *)PTR_bind_array_variable_00144c6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(uVar6);" (call_expression "(*(code *)PTR_free_001464fc)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "(*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);" (call_expression "(*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_001461f0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_001461f0" * (cast_expression "(code *)PTR___sprintf_chk_001461f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8)" ( identifier , number_literal , number_literal , (binary_expression "PTR_LAB_00144578 + 0x69a0" identifier + number_literal) , (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);" (assignment_expression "iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f)" identifier = (call_expression "(*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[1] >> 0x1f)" ( (binary_expression "param_1[1] >> 0x1f" (subscript_expression "param_1[1]" identifier [ number_literal ]) >> number_literal) )))) ;) (expression_statement "param_2 = iVar2;" (assignment_expression "param_2 = iVar2" identifier = identifier) ;) (expression_statement "bind_variable(piVar3,iVar2,0);" (call_expression "bind_variable(piVar3,iVar2,0)" identifier (argument_list "(piVar3,iVar2,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(iVar2);" (call_expression "(*(code *)PTR_free_001464fc)(iVar2)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) })) (labeled_statement "LAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }" statement_identifier : (if_statement "if (local_24[2] == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_24[2] == *(int *)puVar1)" ( (binary_expression "local_24[2] == *(int *)puVar1" (subscript_expression "local_24[2]" identifier [ number_literal ]) == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = piVar3[2];" (assignment_expression "iVar2 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = piVar3[3];" (assignment_expression "iVar7 = piVar3[3]" identifier = (subscript_expression "piVar3[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }" { (if_statement "if (iVar7 < 0) {\n      return;\n    }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }" statement_identifier : (if_statement "if (param_2 != iVar7) {\n      return;\n    }" if (parenthesized_expression "(param_2 != iVar7)" ( (binary_expression "param_2 != iVar7" identifier != identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) }))) }) (else_clause "else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" else (compound_statement "{\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" { (if_statement "if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" if (parenthesized_expression "(iVar2 != param_2)" ( (binary_expression "iVar2 != param_2" identifier != identifier) )) (compound_statement "{\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" { (if_statement "if (iVar7 < 0) {\n        return;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (goto_statement "goto LAB_0004a668;" goto statement_identifier ;) })) (expression_statement "piVar3[2] = -1;" (assignment_expression "piVar3[2] = -1" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;" if (parenthesized_expression "((iVar7 < 0) || (iVar2 != iVar7))" ( (binary_expression "(iVar7 < 0) || (iVar2 != iVar7)" (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar2 != iVar7)" ( (binary_expression "iVar2 != iVar7" identifier != identifier) ))) )) (goto_statement "goto LAB_0004a690;" goto statement_identifier ;)) }))) (expression_statement "piVar3[3] = -1;" (assignment_expression "piVar3[3] = -1" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_0004a690:\n  coproc_setvars();" statement_identifier : (expression_statement "coproc_setvars();" (call_expression "coproc_setvars()" identifier (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;)) (goto_statement goto statement_identifier ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (return_statement return ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return ;) })))
(function_definition "void coproc_setvars(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}" (primitive_type "void") (function_declarator "coproc_setvars(int *param_1,int param_2)" (identifier "coproc_setvars") (parameter_list "(int *param_1,int param_2)" (( "(") (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")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  undefined *puVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int local_24 [4];\n  \n  puVar1 = PTR___stack_chk_guard_001464dc;\n  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;\n  piVar3 = param_1;\n  if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }\nLAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  iVar2 = piVar3[2];\n  iVar7 = piVar3[3];\n  if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }\n  piVar3[3] = -1;\nLAB_0004a690:\n  coproc_setvars();\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int local_24 [4];" (primitive_type "int") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar1 = PTR___stack_chk_guard_001464dc" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_001464dc")) (; ";")) (expression_statement "local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;" (assignment_expression "local_24[2] = *(int *)PTR___stack_chk_guard_001464dc" (subscript_expression "local_24[2]" (identifier "local_24") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_001464dc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_001464dc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_001464dc")))) (; ";")) (expression_statement "piVar3 = param_1;" (assignment_expression "piVar3 = param_1" (identifier "piVar3") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (*param_1 != 0) {\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_2 = 1;\n    piVar3 = local_24;\n    local_24[1] = 0;\n    local_24[0] = *param_1;\n    iVar2 = check_identifier();\n    if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }\n  }" ({ "{") (expression_statement "param_2 = 1;" (assignment_expression "param_2 = 1" (identifier "param_2") (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar3 = local_24;" (assignment_expression "piVar3 = local_24" (identifier "piVar3") (= "=") (identifier "local_24")) (; ";")) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" (identifier "local_24") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24[0] = *param_1;" (assignment_expression "local_24[0] = *param_1" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = check_identifier();" (assignment_expression "iVar2 = check_identifier()" (identifier "iVar2") (= "=") (call_expression "check_identifier()" (identifier "check_identifier") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);\n      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);\n      puVar4 = (undefined *)find_variable(*param_1);\n      if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }\n      if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);\n      uVar8 = 0;\n      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);\n      (*(code *)PTR_free_001464fc)(uVar6);\n      (*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);\n      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);\n      param_2 = iVar2;\n      bind_variable(piVar3,iVar2,0);\n      (*(code *)PTR_free_001464fc)(iVar2);\n      (*(code *)PTR_free_001464fc)();\n    }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(*param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(*param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar4 = (undefined *)find_variable(*param_1);" (assignment_expression "puVar4 = (undefined *)find_variable(*param_1)" (identifier "puVar4") (= "=") (cast_expression "(undefined *)find_variable(*param_1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "find_variable(*param_1)" (identifier "find_variable") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))))) (; ";")) (if_statement "if (puVar4 == (undefined *)0x0) {\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }\n      else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" (if "if") (parenthesized_expression "(puVar4 == (undefined *)0x0)" (( "(") (binary_expression "puVar4 == (undefined *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        param_2 = 1;\n        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);\n        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;\n        if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }\n        puVar4 = (undefined *)make_new_array_variable(*param_1);\n        uVar5 = *(uint *)(puVar4 + 0x14);\n      }" ({ "{") (expression_statement "param_2 = 1;" (assignment_expression "param_2 = 1" (identifier "param_2") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);" (assignment_expression "puVar4 = (undefined *)find_variable_nameref_for_create(*param_1)" (identifier "puVar4") (= "=") (cast_expression "(undefined *)find_variable_nameref_for_create(*param_1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "find_variable_nameref_for_create(*param_1)" (identifier "find_variable_nameref_for_create") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))))) (; ";")) (if_statement "if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;" (if "if") (parenthesized_expression "(puVar4 == PTR_nameref_invalid_value_00144c78)" (( "(") (binary_expression "puVar4 == PTR_nameref_invalid_value_00144c78" (identifier "puVar4") (== "==") (identifier "PTR_nameref_invalid_value_00144c78")) () ")")) (goto_statement "goto LAB_0004a55c;" (goto "goto") (statement_identifier "LAB_0004a55c") (; ";"))) (if_statement "if (puVar4 != (undefined *)0x0) {\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }" (if "if") (parenthesized_expression "(puVar4 != (undefined *)0x0)" (( "(") (binary_expression "puVar4 != (undefined *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar5 = *(uint *)(puVar4 + 0x14);\n          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;\n          (*(code *)PTR_free_001464fc)(*param_1);\n          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));\n          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);\n          param_2 = *(int *)(puVar4 + 4);\n          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);\n          *param_1 = iVar2;\n          puVar4 = (undefined *)make_new_array_variable(iVar2);\n          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;\n        }" ({ "{") (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(puVar4 + 0x14)" (* "*") (cast_expression "(uint *)(puVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x14)" (( "(") (binary_expression "puVar4 + 0x14" (identifier "puVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((uVar5 & 0x800) == 0) goto LAB_0004a420;" (if "if") (parenthesized_expression "((uVar5 & 0x800) == 0)" (( "(") (binary_expression "(uVar5 & 0x800) == 0" (parenthesized_expression "(uVar5 & 0x800)" (( "(") (binary_expression "uVar5 & 0x800" (identifier "uVar5") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004a420;" (goto "goto") (statement_identifier "LAB_0004a420") (; ";"))) (expression_statement "(*(code *)PTR_free_001464fc)(*param_1);" (call_expression "(*(code *)PTR_free_001464fc)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4))" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4))" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(*(undefined4 *)(puVar4 + 4))" (( "(") (pointer_expression "*(undefined4 *)(puVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(puVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);" (assignment_expression "uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar2 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar2 + 1)" (( "(") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_2 = *(int *)(puVar4 + 4);" (assignment_expression "param_2 = *(int *)(puVar4 + 4)" (identifier "param_2") (= "=") (pointer_expression "*(int *)(puVar4 + 4)" (* "*") (cast_expression "(int *)(puVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 4)" (( "(") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);" (assignment_expression "iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar6)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar4 = (undefined *)make_new_array_variable(iVar2);" (assignment_expression "puVar4 = (undefined *)make_new_array_variable(iVar2)" (identifier "puVar4") (= "=") (cast_expression "(undefined *)make_new_array_variable(iVar2)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "make_new_array_variable(iVar2)" (identifier "make_new_array_variable") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (if_statement "if (puVar4 != (undefined *)0x0) goto LAB_0004a418;" (if "if") (parenthesized_expression "(puVar4 != (undefined *)0x0)" (( "(") (binary_expression "puVar4 != (undefined *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0004a418;" (goto "goto") (statement_identifier "LAB_0004a418") (; ";"))) (} "}"))) (expression_statement "puVar4 = (undefined *)make_new_array_variable(*param_1);" (assignment_expression "puVar4 = (undefined *)make_new_array_variable(*param_1)" (identifier "puVar4") (= "=") (cast_expression "(undefined *)make_new_array_variable(*param_1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "make_new_array_variable(*param_1)" (identifier "make_new_array_variable") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(puVar4 + 0x14)" (* "*") (cast_expression "(uint *)(puVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x14)" (( "(") (binary_expression "puVar4 + 0x14" (identifier "puVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" (else "else") (compound_statement "{\nLAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);\nLAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }\n      }" ({ "{") (labeled_statement "LAB_0004a418:\n        uVar5 = *(uint *)(puVar4 + 0x14);" (statement_identifier "LAB_0004a418") (: ":") (expression_statement "uVar5 = *(uint *)(puVar4 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar4 + 0x14)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(puVar4 + 0x14)" (* "*") (cast_expression "(uint *)(puVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x14)" (( "(") (binary_expression "puVar4 + 0x14" (identifier "puVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";"))) (labeled_statement "LAB_0004a420:\n        if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" (statement_identifier "LAB_0004a420") (: ":") (if_statement "if ((uVar5 & 0x4002) != 0) {\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" (if "if") (parenthesized_expression "((uVar5 & 0x4002) != 0)" (( "(") (binary_expression "(uVar5 & 0x4002) != 0" (parenthesized_expression "(uVar5 & 0x4002)" (( "(") (binary_expression "uVar5 & 0x4002" (identifier "uVar5") (& "&") (number_literal "0x4002")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }\nLAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();\n          goto LAB_0004a3b4;\n        }" ({ "{") (if_statement "if ((uVar5 & 2) != 0) {\n            err_readonly(*param_1);\n          }" (if "if") (parenthesized_expression "((uVar5 & 2) != 0)" (( "(") (binary_expression "(uVar5 & 2) != 0" (parenthesized_expression "(uVar5 & 2)" (( "(") (binary_expression "uVar5 & 2" (identifier "uVar5") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            err_readonly(*param_1);\n          }" ({ "{") (expression_statement "err_readonly(*param_1);" (call_expression "err_readonly(*param_1)" (identifier "err_readonly") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0004a55c:\n          (*(code *)PTR_free_001464fc)();" (statement_identifier "LAB_0004a55c") (: ":") (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";"))) (goto_statement "goto LAB_0004a3b4;" (goto "goto") (statement_identifier "LAB_0004a3b4") (; ";")) (} "}")))) (} "}")))) (if_statement "if ((uVar5 & 4) == 0) {\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }" (if "if") (parenthesized_expression "((uVar5 & 4) == 0)" (( "(") (binary_expression "(uVar5 & 4) == 0" (parenthesized_expression "(uVar5 & 4)" (( "(") (binary_expression "uVar5 & 4" (identifier "uVar5") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);\n      }" ({ "{") (expression_statement "(*(code *)PTR_convert_var_to_array_00144c68)(puVar4);" (call_expression "(*(code *)PTR_convert_var_to_array_00144c68)(puVar4)" (parenthesized_expression "(*(code *)PTR_convert_var_to_array_00144c68)" (( "(") (pointer_expression "*(code *)PTR_convert_var_to_array_00144c68" (* "*") (cast_expression "(code *)PTR_convert_var_to_array_00144c68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_convert_var_to_array_00144c68"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);" (assignment_expression "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" (( "(") (pointer_expression "*(code *)PTR_itos_001447a4" (* "*") (cast_expression "(code *)PTR_itos_001447a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_itos_001447a4"))) () ")")) (argument_list "(param_1[2] >> 0x1f)" (( "(") (binary_expression "param_1[2] >> 0x1f" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" (( "(") (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" (* "*") (cast_expression "(code *)PTR_bind_array_variable_00144c6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bind_array_variable_00144c6c"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_001464fc)(uVar6);" (call_expression "(*(code *)PTR_free_001464fc)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);" (assignment_expression "uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" (( "(") (pointer_expression "*(code *)PTR_itos_001447a4" (* "*") (cast_expression "(code *)PTR_itos_001447a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_itos_001447a4"))) () ")")) (argument_list "(param_1[3] >> 0x1f)" (( "(") (binary_expression "param_1[3] >> 0x1f" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1);" (call_expression "(*(code *)PTR_bind_array_variable_00144c6c)(*param_1)" (parenthesized_expression "(*(code *)PTR_bind_array_variable_00144c6c)" (( "(") (pointer_expression "*(code *)PTR_bind_array_variable_00144c6c" (* "*") (cast_expression "(code *)PTR_bind_array_variable_00144c6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bind_array_variable_00144c6c"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_001464fc)(uVar6);" (call_expression "(*(code *)PTR_free_001464fc)(uVar6)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);" (call_expression "(*(code *)PTR___sprintf_chk_001461f0)\n                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_001461f0)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_001461f0" (* "*") (cast_expression "(code *)PTR___sprintf_chk_001461f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_001461f0"))) () ")")) (argument_list "(piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8)" (( "(") (identifier "piVar3") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (binary_expression "PTR_LAB_00144578 + 0x69a0" (identifier "PTR_LAB_00144578") (+ "+") (number_literal "0x69a0")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar8") () ")"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);" (assignment_expression "iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f)" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" (( "(") (pointer_expression "*(code *)PTR_itos_001447a4" (* "*") (cast_expression "(code *)PTR_itos_001447a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_itos_001447a4"))) () ")")) (argument_list "(param_1[1] >> 0x1f)" (( "(") (binary_expression "param_1[1] >> 0x1f" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "param_2 = iVar2;" (assignment_expression "param_2 = iVar2" (identifier "param_2") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "bind_variable(piVar3,iVar2,0);" (call_expression "bind_variable(piVar3,iVar2,0)" (identifier "bind_variable") (argument_list "(piVar3,iVar2,0)" (( "(") (identifier "piVar3") (, ",") (identifier "iVar2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_001464fc)(iVar2);" (call_expression "(*(code *)PTR_free_001464fc)(iVar2)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_001464fc)();" (call_expression "(*(code *)PTR_free_001464fc)()" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0004a3b4:\n  if (local_24[2] == *(int *)puVar1) {\n    return;\n  }" (statement_identifier "LAB_0004a3b4") (: ":") (if_statement "if (local_24[2] == *(int *)puVar1) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_24[2] == *(int *)puVar1)" (( "(") (binary_expression "local_24[2] == *(int *)puVar1" (subscript_expression "local_24[2]" (identifier "local_24") ([ "[") (number_literal "2") (] "]")) (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00146488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00146488"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = piVar3[2];" (assignment_expression "iVar2 = piVar3[2]" (identifier "iVar2") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar7 = piVar3[3];" (assignment_expression "iVar7 = piVar3[3]" (identifier "iVar7") (= "=") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar2 < 0) {\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }\n  else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar7 < 0) {\n      return;\n    }\nLAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }\n  }" ({ "{") (if_statement "if (iVar7 < 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0004a668:\n    if (param_2 != iVar7) {\n      return;\n    }" (statement_identifier "LAB_0004a668") (: ":") (if_statement "if (param_2 != iVar7) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_2 != iVar7)" (( "(") (binary_expression "param_2 != iVar7" (identifier "param_2") (!= "!=") (identifier "iVar7")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" (else "else") (compound_statement "{\n    if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }\n    piVar3[2] = -1;\n    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;\n  }" ({ "{") (if_statement "if (iVar2 != param_2) {\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" (if "if") (parenthesized_expression "(iVar2 != param_2)" (( "(") (binary_expression "iVar2 != param_2" (identifier "iVar2") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n      if (iVar7 < 0) {\n        return;\n      }\n      goto LAB_0004a668;\n    }" ({ "{") (if_statement "if (iVar7 < 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (goto_statement "goto LAB_0004a668;" (goto "goto") (statement_identifier "LAB_0004a668") (; ";")) (} "}"))) (expression_statement "piVar3[2] = -1;" (assignment_expression "piVar3[2] = -1" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "-1")) (; ";")) (if_statement "if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;" (if "if") (parenthesized_expression "((iVar7 < 0) || (iVar2 != iVar7))" (( "(") (binary_expression "(iVar7 < 0) || (iVar2 != iVar7)" (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 != iVar7)" (( "(") (binary_expression "iVar2 != iVar7" (identifier "iVar2") (!= "!=") (identifier "iVar7")) () ")"))) () ")")) (goto_statement "goto LAB_0004a690;" (goto "goto") (statement_identifier "LAB_0004a690") (; ";"))) (} "}")))) (expression_statement "piVar3[3] = -1;" (assignment_expression "piVar3[3] = -1" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "-1")) (; ";")) (labeled_statement "LAB_0004a690:\n  coproc_setvars();" (statement_identifier "LAB_0004a690") (: ":") (expression_statement "coproc_setvars();" (call_expression "coproc_setvars()" (identifier "coproc_setvars") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (goto_statement label: (statement_identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (return_statement))))

void MASKED(int *param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  undefined *puVar4;
  uint uVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 uVar8;
  int local_24 [4];
  
  puVar1 = PTR___stack_chk_guard_001464dc;
  local_24[2] = *(int *)PTR___stack_chk_guard_001464dc;
  piVar3 = param_1;
  if (*param_1 != 0) {
    param_2 = 1;
    piVar3 = local_24;
    local_24[1] = 0;
    local_24[0] = *param_1;
    iVar2 = check_identifier();
    if (iVar2 != 0) {
      iVar2 = (*(code *)PTR_strlen_00146390)(*param_1);
      piVar3 = (int *)(*(code *)PTR_xmalloc_001445b0)(iVar2 + 0x10);
      puVar4 = (undefined *)find_variable(*param_1);
      if (puVar4 == (undefined *)0x0) {
        param_2 = 1;
        puVar4 = (undefined *)find_variable_nameref_for_create(*param_1);
        if (puVar4 == PTR_nameref_invalid_value_00144c78) goto LAB_0004a55c;
        if (puVar4 != (undefined *)0x0) {
          uVar5 = *(uint *)(puVar4 + 0x14);
          if ((uVar5 & 0x800) == 0) goto LAB_0004a420;
          (*(code *)PTR_free_001464fc)(*param_1);
          iVar2 = (*(code *)PTR_strlen_00146390)(*(undefined4 *)(puVar4 + 4));
          uVar6 = (*(code *)PTR_xmalloc_001445b0)(iVar2 + 1);
          param_2 = *(int *)(puVar4 + 4);
          iVar2 = (*(code *)PTR_strcpy_00146418)(uVar6);
          *param_1 = iVar2;
          puVar4 = (undefined *)make_new_array_variable(iVar2);
          if (puVar4 != (undefined *)0x0) goto LAB_0004a418;
        }
        puVar4 = (undefined *)make_new_array_variable(*param_1);
        uVar5 = *(uint *)(puVar4 + 0x14);
      }
      else {
LAB_0004a418:
        uVar5 = *(uint *)(puVar4 + 0x14);
LAB_0004a420:
        if ((uVar5 & 0x4002) != 0) {
          if ((uVar5 & 2) != 0) {
            err_readonly(*param_1);
          }
LAB_0004a55c:
          (*(code *)PTR_free_001464fc)();
          goto LAB_0004a3b4;
        }
      }
      if ((uVar5 & 4) == 0) {
        (*(code *)PTR_convert_var_to_array_00144c68)(puVar4);
      }
      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[2] >> 0x1f);
      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);
      (*(code *)PTR_free_001464fc)(uVar6);
      uVar6 = (*(code *)PTR_itos_001447a4)(param_1[3] >> 0x1f);
      uVar8 = 0;
      (*(code *)PTR_bind_array_variable_00144c6c)(*param_1);
      (*(code *)PTR_free_001464fc)(uVar6);
      (*(code *)PTR___sprintf_chk_001461f0)
                (piVar3,1,0xffffffff,PTR_LAB_00144578 + 0x69a0,*param_1,uVar8);
      iVar2 = (*(code *)PTR_itos_001447a4)(param_1[1] >> 0x1f);
      param_2 = iVar2;
      bind_variable(piVar3,iVar2,0);
      (*(code *)PTR_free_001464fc)(iVar2);
      (*(code *)PTR_free_001464fc)();
    }
  }
LAB_0004a3b4:
  if (local_24[2] == *(int *)puVar1) {
    return;
  }
  (*(code *)PTR___stack_chk_fail_00146488)();
  iVar2 = piVar3[2];
  iVar7 = piVar3[3];
  if (iVar2 < 0) {
    if (iVar7 < 0) {
      return;
    }
LAB_0004a668:
    if (param_2 != iVar7) {
      return;
    }
  }
  else {
    if (iVar2 != param_2) {
      if (iVar7 < 0) {
        return;
      }
      goto LAB_0004a668;
    }
    piVar3[2] = -1;
    if ((iVar7 < 0) || (iVar2 != iVar7)) goto LAB_0004a690;
  }
  piVar3[3] = -1;
LAB_0004a690:
  MASKED();
  return;
}

