
void get_script_line(FILE *script,char *line)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int *piVar4;
  uint uVar5;
  char *pcVar6;
  uint uVar7;
  
  puVar1 = PTR_global_line_counter_0002c2f0;
  (*(code *)PTR_fgets_0002c45c)(line,0x400,script);
  puVar2 = PTR_feof_0002c3f0;
  *(int *)puVar1 = *(int *)puVar1 + 1;
  iVar3 = (*(code *)puVar2)(script);
  while (iVar3 == 0) {
    uVar7 = (uint)*line;
    if (uVar7 != 0) {
      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();
      uVar5 = uVar7;
      pcVar6 = line;
      do {
        pcVar6 = pcVar6 + 1;
        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {
          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;
          break;
        }
        uVar5 = (uint)*pcVar6;
      } while (uVar5 != 0);
    }
    (*(code *)PTR_fgets_0002c45c)(line,0x400,script);
    puVar2 = PTR_feof_0002c3f0;
    *(int *)puVar1 = *(int *)puVar1 + 1;
    iVar3 = (*(code *)puVar2)(script);
  }
LAB_00018590:
  iVar3 = (*(code *)PTR_feof_0002c3f0)(script);
  if (iVar3 != 0) {
    return;
  }
  if (*line != '\0') {
    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();
    do {
      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);
      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;
      line[iVar3 + -1] = '\0';
    } while (*line != '\0');
  }
  iVar3 = utf8len(line);
  if (iVar3 == -1) {
    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);
    fatal_error(pcVar6,line);
  }
  else if (1 < iVar3) goto LAB_00018628;
  pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);
  fatal_error(pcVar6,line);
LAB_00018628:
  if (line[1] != ':') {
    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);
    fatal_error(pcVar6,line);
  }
  uVar7 = (int)*line - 0x47;
  if ((*line != 0x2a) &&
     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&
      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {
    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);
    fatal_error(pcVar6,line);
    return;
  }
  return;
}



void get_script_line(undefined4 param_1,char *param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int *piVar4;
  uint uVar5;
  undefined4 uVar6;
  char *pcVar7;
  uint uVar8;
  
  puVar1 = PTR_global_line_counter_0002c2f0;
  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);
  puVar2 = PTR_feof_0002c3f0;
  *(int *)puVar1 = *(int *)puVar1 + 1;
  iVar3 = (*(code *)puVar2)(param_1);
  while (iVar3 == 0) {
    uVar8 = (uint)*param_2;
    if (uVar8 != 0) {
      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();
      uVar5 = uVar8;
      pcVar7 = param_2;
      do {
        pcVar7 = pcVar7 + 1;
        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {
          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;
          break;
        }
        uVar5 = (uint)*pcVar7;
      } while (uVar5 != 0);
    }
    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);
    puVar2 = PTR_feof_0002c3f0;
    *(int *)puVar1 = *(int *)puVar1 + 1;
    iVar3 = (*(code *)puVar2)(param_1);
  }
LAB_00018590:
  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);
  if (iVar3 != 0) {
    return;
  }
  if (*param_2 != '\0') {
    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();
    do {
      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);
      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;
      param_2[iVar3 + -1] = '\0';
    } while (*param_2 != '\0');
  }
  iVar3 = utf8len(param_2);
  if (iVar3 == -1) {
    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);
    fatal_error(uVar6,param_2);
  }
  else if (1 < iVar3) goto LAB_00018628;
  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);
  fatal_error(uVar6,param_2);
LAB_00018628:
  if (param_2[1] != ':') {
    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);
    fatal_error(uVar6,param_2);
  }
  uVar8 = (int)*param_2 - 0x47;
  if ((*param_2 != 0x2a) &&
     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&
      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {
    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);
    fatal_error(uVar6,param_2);
    return;
  }
  return;
}


lui gp,0x2
addiu gp,gp,-0x4280
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7da4(gp)
or a2,a0,zero
sw s3,0x28(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw gp,0x10(sp)
li a1,0x400
sw ra,0x34(sp)
sw s5,0x30(sp)
li s5,-0x3
sw s4,0x2c(sp)
li s4,0x21
sw s2,0x24(sp)
or s2,a0,zero
sw s0,0x1c(sp)
lw s3,-0x7f10(gp)
jalr t9
_or a0,s1,zero
or a0,s2,zero
lw gp,0x10(sp)
lw v0,0x0(s3)
lw t9,-0x7e10(gp)
addiu v0,v0,0x1
jalr t9
_sw v0,0x0(s3)
bne v0,zero,0x0001858c
_lw gp,0x10(sp)
lb s0,0x0(s1)
beq s0,zero,0x00018554
_lw t9,-0x7ed4(gp)
jalr t9
_nop
or v1,s1,zero
lw a0,0x0(v0)
or v0,s0,zero
b 0x00018530
_lw gp,0x10(sp)
lb v0,0x0(v1)
beq v0,zero,0x00018558
_lw t9,-0x7da4(gp)
sll v0,v0,0x1
addu v0,a0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
bne v0,zero,0x00018524
_addiu v1,v1,0x1
and s0,s0,s5
bne s0,s4,0x00018590
_lw t9,-0x7e10(gp)
lw t9,-0x7da4(gp)
li a1,0x400
or a2,s2,zero
jalr t9
_or a0,s1,zero
or a0,s2,zero
lw gp,0x10(sp)
lw v0,0x0(s3)
lw t9,-0x7e10(gp)
addiu v0,v0,0x1
jalr t9
_sw v0,0x0(s3)
beq v0,zero,0x000184fc
_lw gp,0x10(sp)
lw t9,-0x7e10(gp)
jalr t9
_or a0,s2,zero
bne v0,zero,0x000186c0
_lw gp,0x10(sp)
lb v0,0x0(s1)
beq v0,zero,0x00018604
_lw t9,-0x7ed4(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000185d0
_or s0,v0,zero
sb zero,0x0(v0)
lb v0,0x0(s1)
beq v0,zero,0x00018608
_lw t9,-0x7fb0(gp)
lw t9,-0x7e1c(gp)
jalr t9
_or a0,s1,zero
addiu v0,v0,-0x1
lw v1,0x0(s0)
addu v0,s1,v0
lb a0,0x0(v0)
sll a0,a0,0x1
addu v1,v1,a0
lhu v1,0x0(v1)
andi v1,v1,0x20
bne v1,zero,0x000185c0
_lw gp,0x10(sp)
lw t9,-0x7fb0(gp)
bal 0x00019698
_or a0,s1,zero
li v1,-0x1
beq v0,v1,0x000186e4
_lw gp,0x10(sp)
slti v0,v0,0x2
bne v0,zero,0x00018718
_lw a1,-0x7fc8(gp)
lb v1,0x1(s1)
li v0,0x3a
beq v1,v0,0x00018664
_lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7db8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x47b0
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x7f84(gp)
bal 0x000190c0
_or a0,v0,zero
lw gp,0x10(sp)
lb v0,0x0(s1)
li v1,0x2a
beq v0,v1,0x000186c0
_addiu v0,v0,-0x47
andi v0,v0,0xff
sltiu v1,v0,0x13
beq v1,zero,0x000186a0
_lw t9,-0x7fb0(gp)
lui v1,0x4
addiu v1,v1,0x81
srlv v0,v1,v0
ext v0,v0,0x0,0x1
bne v0,zero,0x000186c4
_lw ra,0x34(sp)
lw t9,-0x7fb0(gp)
bal 0x00019698
_addiu a0,s1,0x2
lw gp,0x10(sp)
lw v1,-0x7e48(gp)
lw v1,0x0(v1)
slt v0,v1,v0
bne v0,zero,0x00018748
_lw a1,-0x7fc8(gp)
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7db8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x47f0
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x7f84(gp)
bal 0x000190c0
_or a0,v0,zero
lw gp,0x10(sp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7db8(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x47c0
or a1,s1,zero
lw gp,0x10(sp)
lw t9,-0x7f84(gp)
bal 0x000190c0
_or a0,v0,zero
b 0x00018628
_lw gp,0x10(sp)
or a0,zero,zero
lw t9,-0x7db8(gp)
li a2,0x5
jalr t9
_addiu a1,a1,-0x47a4
or a1,s1,zero
lw gp,0x10(sp)
or a0,v0,zero
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7f84(gp)
b 0x000190c0
_addiu sp,sp,0x38
(translation_unit "void get_script_line(undefined4 param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void get_script_line(undefined4 param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "get_script_line(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_global_line_counter_0002c2f0;" (assignment_expression "puVar1 = PTR_global_line_counter_0002c2f0" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);" (call_expression "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" ( (pointer_expression "*(code *)PTR_fgets_0002c45c" * (cast_expression "(code *)PTR_fgets_0002c45c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x400,param_1)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" identifier = identifier) ;) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar2)(param_1);" (assignment_expression "iVar3 = (*(code *)puVar2)(param_1)" identifier = (call_expression "(*(code *)puVar2)(param_1)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (while_statement "while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }" while (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }" { (expression_statement "uVar8 = (uint)*param_2;" (assignment_expression "uVar8 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" * (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (expression_statement "pcVar7 = param_2;" (assignment_expression "pcVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);" do (compound_statement "{\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" if (parenthesized_expression "((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar4 + uVar5 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + uVar5 * 2)" * (cast_expression "(ushort *)(*piVar4 + uVar5 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + uVar5 * 2)" ( (binary_expression "*piVar4 + uVar5 * 2" (pointer_expression "*piVar4" * identifier) + (binary_expression "uVar5 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" { (if_statement "if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;" if (parenthesized_expression "((uVar8 & 0xfffffffd) != 0x21)" ( (binary_expression "(uVar8 & 0xfffffffd) != 0x21" (parenthesized_expression "(uVar8 & 0xfffffffd)" ( (binary_expression "uVar8 & 0xfffffffd" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00018590;" goto statement_identifier ;)) (break_statement "break;" break ;) })) (expression_statement "uVar5 = (uint)*pcVar7;" (assignment_expression "uVar5 = (uint)*pcVar7" identifier = (binary_expression "(uint)*pcVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) ;) })) (expression_statement "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);" (call_expression "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" ( (pointer_expression "*(code *)PTR_fgets_0002c45c" * (cast_expression "(code *)PTR_fgets_0002c45c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x400,param_1)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" identifier = identifier) ;) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar2)(param_1);" (assignment_expression "iVar3 = (*(code *)puVar2)(param_1)" identifier = (call_expression "(*(code *)puVar2)(param_1)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) })) (labeled_statement "LAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);" statement_identifier : (expression_statement "iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1)" identifier = (call_expression "(*(code *)PTR_feof_0002c3f0)(param_1)" (parenthesized_expression "(*(code *)PTR_feof_0002c3f0)" ( (pointer_expression "*(code *)PTR_feof_0002c3f0" * (cast_expression "(code *)PTR_feof_0002c3f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;)) (if_statement "if (iVar3 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }" if (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" * (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');" do (compound_statement "{\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_0002c3e4)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_0002c3e4)" ( (pointer_expression "*(code *)PTR_strlen_0002c3e4" * (cast_expression "(code *)PTR_strlen_0002c3e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2)" * (cast_expression "(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + param_2[iVar3 + -1] * 2)" ( (binary_expression "*piVar4 + param_2[iVar3 + -1] * 2" (pointer_expression "*piVar4" * identifier) + (binary_expression "param_2[iVar3 + -1] * 2" (subscript_expression "param_2[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_2[iVar3 + -1] = '\0';" (assignment_expression "param_2[iVar3 + -1] = '\0'" (subscript_expression "param_2[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) while (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "iVar3 = utf8len(param_2);" (assignment_expression "iVar3 = utf8len(param_2)" identifier = (call_expression "utf8len(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }" { (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47f0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47f0" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) }) (else_clause "else if (1 < iVar3) goto LAB_00018628;" else (if_statement "if (1 < iVar3) goto LAB_00018628;" if (parenthesized_expression "(1 < iVar3)" ( (binary_expression "1 < iVar3" number_literal < identifier) )) (goto_statement "goto LAB_00018628;" goto statement_identifier ;)))) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47c0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47c0" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) (labeled_statement "LAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" statement_identifier : (if_statement "if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" if (parenthesized_expression "(param_2[1] != ':')" ( (binary_expression "param_2[1] != ':'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" { (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47b0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47b0" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) }))) (expression_statement "uVar8 = (int)*param_2 - 0x47;" (assignment_expression "uVar8 = (int)*param_2 - 0x47" identifier = (binary_expression "(int)*param_2 - 0x47" (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) - number_literal)) ;) (if_statement "if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }" if (parenthesized_expression "((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))))" ( (binary_expression "(*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" (parenthesized_expression "(*param_2 != 0x2a)" ( (binary_expression "*param_2 != 0x2a" (pointer_expression "*param_2" * identifier) != number_literal) )) && (parenthesized_expression "(((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" ( (parenthesized_expression "((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))" ( (binary_expression "(0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" (parenthesized_expression "(0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)))" ( (binary_expression "0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))" (binary_expression "0x12 < (uVar8 & 0xff)" number_literal < (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) ))) || (parenthesized_expression "(-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" ( (binary_expression "(0x40081U >> (uVar8 & 0x1f)) << 0x1f" (parenthesized_expression "(0x40081U >> (uVar8 & 0x1f))" ( (binary_expression "0x40081U >> (uVar8 & 0x1f)" number_literal >> (parenthesized_expression "(uVar8 & 0x1f)" ( (binary_expression "uVar8 & 0x1f" identifier & number_literal) ))) )) << number_literal) )))) ))) )) && (parenthesized_expression "(iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" ( (comma_expression "iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3" (assignment_expression "iVar3 = utf8len(param_2 + 2)" identifier = (call_expression "utf8len(param_2 + 2)" identifier (argument_list "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (binary_expression "*(int *)PTR_COLS_0002c3b8 < iVar3" (pointer_expression "*(int *)PTR_COLS_0002c3b8" * (cast_expression "(int *)PTR_COLS_0002c3b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) < identifier)) ))) )) ))) )) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }" { (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47a4,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47a4" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void get_script_line(FILE *script,char *line)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  char *pcVar6;\n  uint uVar7;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(script);\n  while (iVar3 == 0) {\n    uVar7 = (uint)*line;\n    if (uVar7 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(script);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(script);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*line != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    } while (*line != '\0');\n  }\n  iVar3 = utf8len(line);\n  if (iVar3 == -1) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(pcVar6,line);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(pcVar6,line);\nLAB_00018628:\n  if (line[1] != ':') {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(pcVar6,line);\n  }\n  uVar7 = (int)*line - 0x47;\n  if ((*line != 0x2a) &&\n     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(pcVar6,line);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void get_script_line(FILE *script,char *line)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  char *pcVar6;\n  uint uVar7;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(script);\n  while (iVar3 == 0) {\n    uVar7 = (uint)*line;\n    if (uVar7 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(script);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(script);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*line != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    } while (*line != '\0');\n  }\n  iVar3 = utf8len(line);\n  if (iVar3 == -1) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(pcVar6,line);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(pcVar6,line);\nLAB_00018628:\n  if (line[1] != ':') {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(pcVar6,line);\n  }\n  uVar7 = (int)*line - 0x47;\n  if ((*line != 0x2a) &&\n     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(pcVar6,line);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "get_script_line(FILE *script,char *line)" identifier (parameter_list "(FILE *script,char *line)" ( (parameter_declaration "FILE *script" type_identifier (pointer_declarator "*script" * identifier)) , (parameter_declaration "char *line" primitive_type (pointer_declarator "*line" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  char *pcVar6;\n  uint uVar7;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(script);\n  while (iVar3 == 0) {\n    uVar7 = (uint)*line;\n    if (uVar7 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(script);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(script);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*line != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    } while (*line != '\0');\n  }\n  iVar3 = utf8len(line);\n  if (iVar3 == -1) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(pcVar6,line);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(pcVar6,line);\nLAB_00018628:\n  if (line[1] != ':') {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(pcVar6,line);\n  }\n  uVar7 = (int)*line - 0x47;\n  if ((*line != 0x2a) &&\n     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(pcVar6,line);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_global_line_counter_0002c2f0;" (assignment_expression "puVar1 = PTR_global_line_counter_0002c2f0" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fgets_0002c45c)(line,0x400,script);" (call_expression "(*(code *)PTR_fgets_0002c45c)(line,0x400,script)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" ( (pointer_expression "*(code *)PTR_fgets_0002c45c" * (cast_expression "(code *)PTR_fgets_0002c45c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(line,0x400,script)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" identifier = identifier) ;) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar2)(script);" (assignment_expression "iVar3 = (*(code *)puVar2)(script)" identifier = (call_expression "(*(code *)puVar2)(script)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(script)" ( identifier )))) ;) (while_statement "while (iVar3 == 0) {\n    uVar7 = (uint)*line;\n    if (uVar7 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(script);\n  }" while (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar7 = (uint)*line;\n    if (uVar7 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(line,0x400,script);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(script);\n  }" { (expression_statement "uVar7 = (uint)*line;" (assignment_expression "uVar7 = (uint)*line" identifier = (binary_expression "(uint)*line" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar7 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar7;\n      pcVar6 = line;\n      do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" * (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = uVar7;" (assignment_expression "uVar5 = uVar7" identifier = identifier) ;) (expression_statement "pcVar6 = line;" (assignment_expression "pcVar6 = line" identifier = identifier) ;) (do_statement "do {\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      } while (uVar5 != 0);" do (compound_statement "{\n        pcVar6 = pcVar6 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar6;\n      }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" if (parenthesized_expression "((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar4 + uVar5 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + uVar5 * 2)" * (cast_expression "(ushort *)(*piVar4 + uVar5 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + uVar5 * 2)" ( (binary_expression "*piVar4 + uVar5 * 2" (pointer_expression "*piVar4" * identifier) + (binary_expression "uVar5 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" { (if_statement "if ((uVar7 & 0xfffffffd) != 0x21) goto LAB_00018590;" if (parenthesized_expression "((uVar7 & 0xfffffffd) != 0x21)" ( (binary_expression "(uVar7 & 0xfffffffd) != 0x21" (parenthesized_expression "(uVar7 & 0xfffffffd)" ( (binary_expression "uVar7 & 0xfffffffd" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00018590;" goto statement_identifier ;)) (break_statement "break;" break ;) })) (expression_statement "uVar5 = (uint)*pcVar6;" (assignment_expression "uVar5 = (uint)*pcVar6" identifier = (binary_expression "(uint)*pcVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) ;) })) (expression_statement "(*(code *)PTR_fgets_0002c45c)(line,0x400,script);" (call_expression "(*(code *)PTR_fgets_0002c45c)(line,0x400,script)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" ( (pointer_expression "*(code *)PTR_fgets_0002c45c" * (cast_expression "(code *)PTR_fgets_0002c45c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(line,0x400,script)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" identifier = identifier) ;) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar2)(script);" (assignment_expression "iVar3 = (*(code *)puVar2)(script)" identifier = (call_expression "(*(code *)puVar2)(script)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(script)" ( identifier )))) ;) })) (labeled_statement "LAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(script);" statement_identifier : (expression_statement "iVar3 = (*(code *)PTR_feof_0002c3f0)(script);" (assignment_expression "iVar3 = (*(code *)PTR_feof_0002c3f0)(script)" identifier = (call_expression "(*(code *)PTR_feof_0002c3f0)(script)" (parenthesized_expression "(*(code *)PTR_feof_0002c3f0)" ( (pointer_expression "*(code *)PTR_feof_0002c3f0" * (cast_expression "(code *)PTR_feof_0002c3f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(script)" ( identifier )))) ;)) (if_statement "if (iVar3 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*line != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    } while (*line != '\0');\n  }" if (parenthesized_expression "(*line != '\0')" ( (binary_expression "*line != '\0'" (pointer_expression "*line" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    } while (*line != '\0');\n  }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" * (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    } while (*line != '\0');" do (compound_statement "{\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);\n      if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;\n      line[iVar3 + -1] = '\0';\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_0002c3e4)(line);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_0002c3e4)(line)" identifier = (call_expression "(*(code *)PTR_strlen_0002c3e4)(line)" (parenthesized_expression "(*(code *)PTR_strlen_0002c3e4)" ( (pointer_expression "*(code *)PTR_strlen_0002c3e4" * (cast_expression "(code *)PTR_strlen_0002c3e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(line)" ( identifier )))) ;) (if_statement "if ((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar4 + line[iVar3 + -1] * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + line[iVar3 + -1] * 2)" * (cast_expression "(ushort *)(*piVar4 + line[iVar3 + -1] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + line[iVar3 + -1] * 2)" ( (binary_expression "*piVar4 + line[iVar3 + -1] * 2" (pointer_expression "*piVar4" * identifier) + (binary_expression "line[iVar3 + -1] * 2" (subscript_expression "line[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "line[iVar3 + -1] = '\0';" (assignment_expression "line[iVar3 + -1] = '\0'" (subscript_expression "line[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) while (parenthesized_expression "(*line != '\0')" ( (binary_expression "*line != '\0'" (pointer_expression "*line" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "iVar3 = utf8len(line);" (assignment_expression "iVar3 = utf8len(line)" identifier = (call_expression "utf8len(line)" identifier (argument_list "(line)" ( identifier )))) ;) (if_statement "if (iVar3 == -1) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(pcVar6,line);\n  }\n  else if (1 < iVar3) goto LAB_00018628;" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(pcVar6,line);\n  }" { (expression_statement "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47f0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47f0" identifier + number_literal) , number_literal ))))) ;) (expression_statement "fatal_error(pcVar6,line);" (call_expression "fatal_error(pcVar6,line)" identifier (argument_list "(pcVar6,line)" ( identifier , identifier ))) ;) }) (else_clause "else if (1 < iVar3) goto LAB_00018628;" else (if_statement "if (1 < iVar3) goto LAB_00018628;" if (parenthesized_expression "(1 < iVar3)" ( (binary_expression "1 < iVar3" number_literal < identifier) )) (goto_statement "goto LAB_00018628;" goto statement_identifier ;)))) (expression_statement "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47c0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47c0" identifier + number_literal) , number_literal ))))) ;) (expression_statement "fatal_error(pcVar6,line);" (call_expression "fatal_error(pcVar6,line)" identifier (argument_list "(pcVar6,line)" ( identifier , identifier ))) ;) (labeled_statement "LAB_00018628:\n  if (line[1] != ':') {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(pcVar6,line);\n  }" statement_identifier : (if_statement "if (line[1] != ':') {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(pcVar6,line);\n  }" if (parenthesized_expression "(line[1] != ':')" ( (binary_expression "line[1] != ':'" (subscript_expression "line[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(pcVar6,line);\n  }" { (expression_statement "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47b0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47b0" identifier + number_literal) , number_literal ))))) ;) (expression_statement "fatal_error(pcVar6,line);" (call_expression "fatal_error(pcVar6,line)" identifier (argument_list "(pcVar6,line)" ( identifier , identifier ))) ;) }))) (expression_statement "uVar7 = (int)*line - 0x47;" (assignment_expression "uVar7 = (int)*line - 0x47" identifier = (binary_expression "(int)*line - 0x47" (cast_expression "(int)*line" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*line" * identifier)) - number_literal)) ;) (if_statement "if ((*line != 0x2a) &&\n     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(pcVar6,line);\n    return;\n  }" if (parenthesized_expression "((*line != 0x2a) &&\n     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))))" ( (binary_expression "(*line != 0x2a) &&\n     (((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" (parenthesized_expression "(*line != 0x2a)" ( (binary_expression "*line != 0x2a" (pointer_expression "*line" * identifier) != number_literal) )) && (parenthesized_expression "(((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" ( (parenthesized_expression "((0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))" ( (binary_expression "(0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" (parenthesized_expression "(0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f)))" ( (binary_expression "0x12 < (uVar7 & 0xff) || (-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))" (binary_expression "0x12 < (uVar7 & 0xff)" number_literal < (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) ))) || (parenthesized_expression "(-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x40081U >> (uVar7 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x40081U >> (uVar7 & 0x1f)) << 0x1f)" ( (binary_expression "(0x40081U >> (uVar7 & 0x1f)) << 0x1f" (parenthesized_expression "(0x40081U >> (uVar7 & 0x1f))" ( (binary_expression "0x40081U >> (uVar7 & 0x1f)" number_literal >> (parenthesized_expression "(uVar7 & 0x1f)" ( (binary_expression "uVar7 & 0x1f" identifier & number_literal) ))) )) << number_literal) )))) ))) )) && (parenthesized_expression "(iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" ( (comma_expression "iVar3 = utf8len(line + 2), *(int *)PTR_COLS_0002c3b8 < iVar3" (assignment_expression "iVar3 = utf8len(line + 2)" identifier = (call_expression "utf8len(line + 2)" identifier (argument_list "(line + 2)" ( (binary_expression "line + 2" identifier + number_literal) )))) , (binary_expression "*(int *)PTR_COLS_0002c3b8 < iVar3" (pointer_expression "*(int *)PTR_COLS_0002c3b8" * (cast_expression "(int *)PTR_COLS_0002c3b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) < identifier)) ))) )) ))) )) (compound_statement "{\n    pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(pcVar6,line);\n    return;\n  }" { (expression_statement "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47a4,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47a4" identifier + number_literal) , number_literal ))))) ;) (expression_statement "fatal_error(pcVar6,line);" (call_expression "fatal_error(pcVar6,line)" identifier (argument_list "(pcVar6,line)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void get_script_line(undefined4 param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void get_script_line(undefined4 param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "get_script_line(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_global_line_counter_0002c2f0;" (assignment_expression "puVar1 = PTR_global_line_counter_0002c2f0" identifier = identifier) ;) (expression_statement "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);" (call_expression "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" ( (pointer_expression "*(code *)PTR_fgets_0002c45c" * (cast_expression "(code *)PTR_fgets_0002c45c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x400,param_1)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" identifier = identifier) ;) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar2)(param_1);" (assignment_expression "iVar3 = (*(code *)puVar2)(param_1)" identifier = (call_expression "(*(code *)puVar2)(param_1)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (while_statement "while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }" while (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }" { (expression_statement "uVar8 = (uint)*param_2;" (assignment_expression "uVar8 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" * (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" identifier = identifier) ;) (expression_statement "pcVar7 = param_2;" (assignment_expression "pcVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);" do (compound_statement "{\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" if (parenthesized_expression "((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar4 + uVar5 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + uVar5 * 2)" * (cast_expression "(ushort *)(*piVar4 + uVar5 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + uVar5 * 2)" ( (binary_expression "*piVar4 + uVar5 * 2" (pointer_expression "*piVar4" * identifier) + (binary_expression "uVar5 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" { (if_statement "if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;" if (parenthesized_expression "((uVar8 & 0xfffffffd) != 0x21)" ( (binary_expression "(uVar8 & 0xfffffffd) != 0x21" (parenthesized_expression "(uVar8 & 0xfffffffd)" ( (binary_expression "uVar8 & 0xfffffffd" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00018590;" goto statement_identifier ;)) (break_statement "break;" break ;) })) (expression_statement "uVar5 = (uint)*pcVar7;" (assignment_expression "uVar5 = (uint)*pcVar7" identifier = (binary_expression "(uint)*pcVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) ;) })) (expression_statement "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);" (call_expression "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" ( (pointer_expression "*(code *)PTR_fgets_0002c45c" * (cast_expression "(code *)PTR_fgets_0002c45c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0x400,param_1)" ( identifier , number_literal , identifier ))) ;) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" identifier = identifier) ;) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar2)(param_1);" (assignment_expression "iVar3 = (*(code *)puVar2)(param_1)" identifier = (call_expression "(*(code *)puVar2)(param_1)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) })) (labeled_statement "LAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);" statement_identifier : (expression_statement "iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1)" identifier = (call_expression "(*(code *)PTR_feof_0002c3f0)(param_1)" (parenthesized_expression "(*(code *)PTR_feof_0002c3f0)" ( (pointer_expression "*(code *)PTR_feof_0002c3f0" * (cast_expression "(code *)PTR_feof_0002c3f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;)) (if_statement "if (iVar3 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }" if (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }" { (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" * (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (do_statement "do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');" do (compound_statement "{\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_0002c3e4)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_0002c3e4)" ( (pointer_expression "*(code *)PTR_strlen_0002c3e4" * (cast_expression "(code *)PTR_strlen_0002c3e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2)" * (cast_expression "(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar4 + param_2[iVar3 + -1] * 2)" ( (binary_expression "*piVar4 + param_2[iVar3 + -1] * 2" (pointer_expression "*piVar4" * identifier) + (binary_expression "param_2[iVar3 + -1] * 2" (subscript_expression "param_2[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_2[iVar3 + -1] = '\0';" (assignment_expression "param_2[iVar3 + -1] = '\0'" (subscript_expression "param_2[iVar3 + -1]" identifier [ (binary_expression "iVar3 + -1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) while (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (expression_statement "iVar3 = utf8len(param_2);" (assignment_expression "iVar3 = utf8len(param_2)" identifier = (call_expression "utf8len(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }" { (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47f0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47f0" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) }) (else_clause "else if (1 < iVar3) goto LAB_00018628;" else (if_statement "if (1 < iVar3) goto LAB_00018628;" if (parenthesized_expression "(1 < iVar3)" ( (binary_expression "1 < iVar3" number_literal < identifier) )) (goto_statement "goto LAB_00018628;" goto statement_identifier ;)))) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47c0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47c0" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) (labeled_statement "LAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" statement_identifier : (if_statement "if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" if (parenthesized_expression "(param_2[1] != ':')" ( (binary_expression "param_2[1] != ':'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" { (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47b0,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47b0" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) }))) (expression_statement "uVar8 = (int)*param_2 - 0x47;" (assignment_expression "uVar8 = (int)*param_2 - 0x47" identifier = (binary_expression "(int)*param_2 - 0x47" (cast_expression "(int)*param_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_2" * identifier)) - number_literal)) ;) (if_statement "if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }" if (parenthesized_expression "((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))))" ( (binary_expression "(*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" (parenthesized_expression "(*param_2 != 0x2a)" ( (binary_expression "*param_2 != 0x2a" (pointer_expression "*param_2" * identifier) != number_literal) )) && (parenthesized_expression "(((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" ( (parenthesized_expression "((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))" ( (binary_expression "(0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" (parenthesized_expression "(0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)))" ( (binary_expression "0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))" (binary_expression "0x12 < (uVar8 & 0xff)" number_literal < (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) ))) || (parenthesized_expression "(-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" ( (binary_expression "(0x40081U >> (uVar8 & 0x1f)) << 0x1f" (parenthesized_expression "(0x40081U >> (uVar8 & 0x1f))" ( (binary_expression "0x40081U >> (uVar8 & 0x1f)" number_literal >> (parenthesized_expression "(uVar8 & 0x1f)" ( (binary_expression "uVar8 & 0x1f" identifier & number_literal) ))) )) << number_literal) )))) ))) )) && (parenthesized_expression "(iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" ( (comma_expression "iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3" (assignment_expression "iVar3 = utf8len(param_2 + 2)" identifier = (call_expression "utf8len(param_2 + 2)" identifier (argument_list "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (binary_expression "*(int *)PTR_COLS_0002c3b8 < iVar3" (pointer_expression "*(int *)PTR_COLS_0002c3b8" * (cast_expression "(int *)PTR_COLS_0002c3b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) < identifier)) ))) )) ))) )) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }" { (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" ( (pointer_expression "*(code *)PTR_dcgettext_0002c448" * (cast_expression "(code *)PTR_dcgettext_0002c448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002c238 + -0x47a4,5)" ( number_literal , (binary_expression "PTR_DAT_0002c238 + -0x47a4" identifier + number_literal) , number_literal )))) ;) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" identifier (argument_list "(uVar6,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 )))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 )))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (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 ( ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) * LIT)) )))) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (char_literal ' escape_sequence ')) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT < (parenthesized_expression ( (binary_expression IDENT & LIT) ))) || (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) << LIT) )))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) < IDENT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void get_script_line(undefined4 param_1,char *param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "get_script_line(undefined4 param_1,char *param_2)" (identifier "get_script_line") (parameter_list "(undefined4 param_1,char *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int *piVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  uint uVar8;\n  \n  puVar1 = PTR_global_line_counter_0002c2f0;\n  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n  puVar2 = PTR_feof_0002c3f0;\n  *(int *)puVar1 = *(int *)puVar1 + 1;\n  iVar3 = (*(code *)puVar2)(param_1);\n  while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }\nLAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);\n  if (iVar3 != 0) {\n    return;\n  }\n  if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }\n  iVar3 = utf8len(param_2);\n  if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;\n  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);\n  fatal_error(uVar6,param_2);\nLAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }\n  uVar8 = (int)*param_2 - 0x47;\n  if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (expression_statement "puVar1 = PTR_global_line_counter_0002c2f0;" (assignment_expression "puVar1 = PTR_global_line_counter_0002c2f0" (identifier "puVar1") (= "=") (identifier "PTR_global_line_counter_0002c2f0")) (; ";")) (expression_statement "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);" (call_expression "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" (( "(") (pointer_expression "*(code *)PTR_fgets_0002c45c" (* "*") (cast_expression "(code *)PTR_fgets_0002c45c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fgets_0002c45c"))) () ")")) (argument_list "(param_2,0x400,param_1)" (( "(") (identifier "param_2") (, ",") (number_literal "0x400") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" (identifier "puVar2") (= "=") (identifier "PTR_feof_0002c3f0")) (; ";")) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = (*(code *)puVar2)(param_1);" (assignment_expression "iVar3 = (*(code *)puVar2)(param_1)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar2)(param_1)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (while_statement "while (iVar3 == 0) {\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }" (while "while") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = (uint)*param_2;\n    if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }\n    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);\n    puVar2 = PTR_feof_0002c3f0;\n    *(int *)puVar1 = *(int *)puVar1 + 1;\n    iVar3 = (*(code *)puVar2)(param_1);\n  }" ({ "{") (expression_statement "uVar8 = (uint)*param_2;" (assignment_expression "uVar8 = (uint)*param_2" (identifier "uVar8") (= "=") (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (uVar8 != 0) {\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }" (if "if") (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n      uVar5 = uVar8;\n      pcVar7 = param_2;\n      do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);\n    }" ({ "{") (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" (identifier "piVar4") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_0002c32c"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = uVar8;" (assignment_expression "uVar5 = uVar8" (identifier "uVar5") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "pcVar7 = param_2;" (assignment_expression "pcVar7 = param_2" (identifier "pcVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      } while (uVar5 != 0);" (do "do") (compound_statement "{\n        pcVar7 = pcVar7 + 1;\n        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }\n        uVar5 = (uint)*pcVar7;\n      }" ({ "{") (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" (if "if") (parenthesized_expression "((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + uVar5 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar4 + uVar5 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + uVar5 * 2)" (* "*") (cast_expression "(ushort *)(*piVar4 + uVar5 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar4 + uVar5 * 2)" (( "(") (binary_expression "*piVar4 + uVar5 * 2" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (+ "+") (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;\n          break;\n        }" ({ "{") (if_statement "if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;" (if "if") (parenthesized_expression "((uVar8 & 0xfffffffd) != 0x21)" (( "(") (binary_expression "(uVar8 & 0xfffffffd) != 0x21" (parenthesized_expression "(uVar8 & 0xfffffffd)" (( "(") (binary_expression "uVar8 & 0xfffffffd" (identifier "uVar8") (& "&") (number_literal "0xfffffffd")) () ")")) (!= "!=") (number_literal "0x21")) () ")")) (goto_statement "goto LAB_00018590;" (goto "goto") (statement_identifier "LAB_00018590") (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar5 = (uint)*pcVar7;" (assignment_expression "uVar5 = (uint)*pcVar7" (identifier "uVar5") (= "=") (binary_expression "(uint)*pcVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pcVar7"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);" (call_expression "(*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1)" (parenthesized_expression "(*(code *)PTR_fgets_0002c45c)" (( "(") (pointer_expression "*(code *)PTR_fgets_0002c45c" (* "*") (cast_expression "(code *)PTR_fgets_0002c45c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fgets_0002c45c"))) () ")")) (argument_list "(param_2,0x400,param_1)" (( "(") (identifier "param_2") (, ",") (number_literal "0x400") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "puVar2 = PTR_feof_0002c3f0;" (assignment_expression "puVar2 = PTR_feof_0002c3f0" (identifier "puVar2") (= "=") (identifier "PTR_feof_0002c3f0")) (; ";")) (expression_statement "*(int *)puVar1 = *(int *)puVar1 + 1;" (assignment_expression "*(int *)puVar1 = *(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (binary_expression "*(int *)puVar1 + 1" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = (*(code *)puVar2)(param_1);" (assignment_expression "iVar3 = (*(code *)puVar2)(param_1)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar2)(param_1)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}"))) (labeled_statement "LAB_00018590:\n  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);" (statement_identifier "LAB_00018590") (: ":") (expression_statement "iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_feof_0002c3f0)(param_1)" (parenthesized_expression "(*(code *)PTR_feof_0002c3f0)" (( "(") (pointer_expression "*(code *)PTR_feof_0002c3f0" (* "*") (cast_expression "(code *)PTR_feof_0002c3f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_feof_0002c3f0"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";"))) (if_statement "if (iVar3 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*param_2 != '\0') {\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }" (if "if") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();\n    do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');\n  }" ({ "{") (expression_statement "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();" (assignment_expression "piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" (identifier "piVar4") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_0002c32c)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_0002c32c)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_0002c32c)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_0002c32c" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_0002c32c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_0002c32c"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (do_statement "do {\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    } while (*param_2 != '\0');" (do "do") (compound_statement "{\n      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);\n      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;\n      param_2[iVar3 + -1] = '\0';\n    }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_0002c3e4)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_0002c3e4)" (( "(") (pointer_expression "*(code *)PTR_strlen_0002c3e4" (* "*") (cast_expression "(code *)PTR_strlen_0002c3e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0002c3e4"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;" (if "if") (parenthesized_expression "((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2)" (* "*") (cast_expression "(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar4 + param_2[iVar3 + -1] * 2)" (( "(") (binary_expression "*piVar4 + param_2[iVar3 + -1] * 2" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (+ "+") (binary_expression "param_2[iVar3 + -1] * 2" (subscript_expression "param_2[iVar3 + -1]" (identifier "param_2") ([ "[") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1")) (] "]")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_2[iVar3 + -1] = '\0';" (assignment_expression "param_2[iVar3 + -1] = '\0'" (subscript_expression "param_2[iVar3 + -1]" (identifier "param_2") ([ "[") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1")) (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar3 = utf8len(param_2);" (assignment_expression "iVar3 = utf8len(param_2)" (identifier "iVar3") (= "=") (call_expression "utf8len(param_2)" (identifier "utf8len") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar3 == -1) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }\n  else if (1 < iVar3) goto LAB_00018628;" (if "if") (parenthesized_expression "(iVar3 == -1)" (( "(") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);\n    fatal_error(uVar6,param_2);\n  }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c448" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c448"))) () ")")) (argument_list "(0,PTR_DAT_0002c238 + -0x47f0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c238 + -0x47f0" (identifier "PTR_DAT_0002c238") (+ "+") (number_literal "-0x47f0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" (identifier "fatal_error") (argument_list "(uVar6,param_2)" (( "(") (identifier "uVar6") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (else_clause "else if (1 < iVar3) goto LAB_00018628;" (else "else") (if_statement "if (1 < iVar3) goto LAB_00018628;" (if "if") (parenthesized_expression "(1 < iVar3)" (( "(") (binary_expression "1 < iVar3" (number_literal "1") (< "<") (identifier "iVar3")) () ")")) (goto_statement "goto LAB_00018628;" (goto "goto") (statement_identifier "LAB_00018628") (; ";"))))) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c448" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c448"))) () ")")) (argument_list "(0,PTR_DAT_0002c238 + -0x47c0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c238 + -0x47c0" (identifier "PTR_DAT_0002c238") (+ "+") (number_literal "-0x47c0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" (identifier "fatal_error") (argument_list "(uVar6,param_2)" (( "(") (identifier "uVar6") (, ",") (identifier "param_2") () ")"))) (; ";")) (labeled_statement "LAB_00018628:\n  if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" (statement_identifier "LAB_00018628") (: ":") (if_statement "if (param_2[1] != ':') {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" (if "if") (parenthesized_expression "(param_2[1] != ':')" (( "(") (binary_expression "param_2[1] != ':'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);\n    fatal_error(uVar6,param_2);\n  }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c448" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c448"))) () ")")) (argument_list "(0,PTR_DAT_0002c238 + -0x47b0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c238 + -0x47b0" (identifier "PTR_DAT_0002c238") (+ "+") (number_literal "-0x47b0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" (identifier "fatal_error") (argument_list "(uVar6,param_2)" (( "(") (identifier "uVar6") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar8 = (int)*param_2 - 0x47;" (assignment_expression "uVar8 = (int)*param_2 - 0x47" (identifier "uVar8") (= "=") (binary_expression "(int)*param_2 - 0x47" (cast_expression "(int)*param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (- "-") (number_literal "0x47"))) (; ";")) (if_statement "if ((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "((*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))))" (( "(") (binary_expression "(*param_2 != 0x2a) &&\n     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" (parenthesized_expression "(*param_2 != 0x2a)" (( "(") (binary_expression "*param_2 != 0x2a" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "0x2a")) () ")")) (&& "&&") (parenthesized_expression "(((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))" (( "(") (parenthesized_expression "((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3))" (( "(") (binary_expression "(0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&\n      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" (parenthesized_expression "(0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)))" (( "(") (binary_expression "0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))" (binary_expression "0x12 < (uVar8 & 0xff)" (number_literal "0x12") (< "<") (parenthesized_expression "(uVar8 & 0xff)" (( "(") (binary_expression "uVar8 & 0xff" (identifier "uVar8") (& "&") (number_literal "0xff")) () ")"))) (|| "||") (parenthesized_expression "(-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))" (( "(") (binary_expression "-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" (number_literal "-1") (< "<") (cast_expression "(int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((0x40081U >> (uVar8 & 0x1f)) << 0x1f)" (( "(") (binary_expression "(0x40081U >> (uVar8 & 0x1f)) << 0x1f" (parenthesized_expression "(0x40081U >> (uVar8 & 0x1f))" (( "(") (binary_expression "0x40081U >> (uVar8 & 0x1f)" (number_literal "0x40081U") (>> ">>") (parenthesized_expression "(uVar8 & 0x1f)" (( "(") (binary_expression "uVar8 & 0x1f" (identifier "uVar8") (& "&") (number_literal "0x1f")) () ")"))) () ")")) (<< "<<") (number_literal "0x1f")) () ")")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)" (( "(") (comma_expression "iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3" (assignment_expression "iVar3 = utf8len(param_2 + 2)" (identifier "iVar3") (= "=") (call_expression "utf8len(param_2 + 2)" (identifier "utf8len") (argument_list "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (, ",") (binary_expression "*(int *)PTR_COLS_0002c3b8 < iVar3" (pointer_expression "*(int *)PTR_COLS_0002c3b8" (* "*") (cast_expression "(int *)PTR_COLS_0002c3b8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_COLS_0002c3b8"))) (< "<") (identifier "iVar3"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);\n    fatal_error(uVar6,param_2);\n    return;\n  }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002c448)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002c448" (* "*") (cast_expression "(code *)PTR_dcgettext_0002c448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002c448"))) () ")")) (argument_list "(0,PTR_DAT_0002c238 + -0x47a4,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002c238 + -0x47a4" (identifier "PTR_DAT_0002c238") (+ "+") (number_literal "-0x47a4")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "fatal_error(uVar6,param_2);" (call_expression "fatal_error(uVar6,param_2)" (identifier "fatal_error") (argument_list "(uVar6,param_2)" (( "(") (identifier "uVar6") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *script,char *var_2)

{
  type_2 *puVar1;
  type_2 *puVar2;
  int var_1;
  int *piVar4;
  type_3 var_5;
  char *var_4;
  type_3 var_3;
  
  puVar1 = PTR_global_line_counter_0002c2f0;
  (*(type_4 *)PTR_fgets_0002c45c)(var_2,0x400,script);
  puVar2 = PTR_feof_0002c3f0;
  *(int *)puVar1 = *(int *)puVar1 + 1;
  var_1 = (*(type_4 *)puVar2)(script);
  while (var_1 == 0) {
    var_3 = (type_3)*var_2;
    if (var_3 != 0) {
      piVar4 = (int *)(*(type_4 *)PTR___ctype_b_loc_0002c32c)();
      var_5 = var_3;
      var_4 = var_2;
      do {
        var_4 = var_4 + 1;
        if ((*(type_5 *)(*piVar4 + var_5 * 2) & 0x20) == 0) {
          if ((var_3 & 0xfffffffd) != 0x21) goto LAB_00018590;
          break;
        }
        var_5 = (type_3)*var_4;
      } while (var_5 != 0);
    }
    (*(type_4 *)PTR_fgets_0002c45c)(var_2,0x400,script);
    puVar2 = PTR_feof_0002c3f0;
    *(int *)puVar1 = *(int *)puVar1 + 1;
    var_1 = (*(type_4 *)puVar2)(script);
  }
LAB_00018590:
  var_1 = (*(type_4 *)PTR_feof_0002c3f0)(script);
  if (var_1 != 0) {
    return;
  }
  if (*var_2 != '\0') {
    piVar4 = (int *)(*(type_4 *)PTR___ctype_b_loc_0002c32c)();
    do {
      var_1 = (*(type_4 *)PTR_strlen_0002c3e4)(var_2);
      if ((*(type_5 *)(*piVar4 + var_2[var_1 + -1] * 2) & 0x20) == 0) break;
      var_2[var_1 + -1] = '\0';
    } while (*var_2 != '\0');
  }
  var_1 = var_6(var_2);
  if (var_1 == -1) {
    var_4 = (char *)(*(type_4 *)PTR_dcgettext_0002c448)(0,var_7 + -0x47f0,5);
    var_8(var_4,var_2);
  }
  else if (1 < var_1) goto LAB_00018628;
  var_4 = (char *)(*(type_4 *)PTR_dcgettext_0002c448)(0,var_7 + -0x47c0,5);
  var_8(var_4,var_2);
LAB_00018628:
  if (var_2[1] != ':') {
    var_4 = (char *)(*(type_4 *)PTR_dcgettext_0002c448)(0,var_7 + -0x47b0,5);
    var_8(var_4,var_2);
  }
  var_3 = (int)*var_2 - 0x47;
  if ((*var_2 != 0x2a) &&
     (((0x12 < (var_3 & 0xff) || (-1 < (int)((0x40081U >> (var_3 & 0x1f)) << 0x1f))) &&
      (var_1 = var_6(var_2 + 2), *(int *)PTR_COLS_0002c3b8 < var_1)))) {
    var_4 = (char *)(*(type_4 *)PTR_dcgettext_0002c448)(0,var_7 + -0x47a4,5);
    var_8(var_4,var_2);
    return;
  }
  return;
}


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

void MASKED(undefined4 param_1,char *param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int *piVar4;
  uint uVar5;
  undefined4 uVar6;
  char *pcVar7;
  uint uVar8;
  
  puVar1 = PTR_global_line_counter_0002c2f0;
  (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);
  puVar2 = PTR_feof_0002c3f0;
  *(int *)puVar1 = *(int *)puVar1 + 1;
  iVar3 = (*(code *)puVar2)(param_1);
  while (iVar3 == 0) {
    uVar8 = (uint)*param_2;
    if (uVar8 != 0) {
      piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();
      uVar5 = uVar8;
      pcVar7 = param_2;
      do {
        pcVar7 = pcVar7 + 1;
        if ((*(ushort *)(*piVar4 + uVar5 * 2) & 0x20) == 0) {
          if ((uVar8 & 0xfffffffd) != 0x21) goto LAB_00018590;
          break;
        }
        uVar5 = (uint)*pcVar7;
      } while (uVar5 != 0);
    }
    (*(code *)PTR_fgets_0002c45c)(param_2,0x400,param_1);
    puVar2 = PTR_feof_0002c3f0;
    *(int *)puVar1 = *(int *)puVar1 + 1;
    iVar3 = (*(code *)puVar2)(param_1);
  }
LAB_00018590:
  iVar3 = (*(code *)PTR_feof_0002c3f0)(param_1);
  if (iVar3 != 0) {
    return;
  }
  if (*param_2 != '\0') {
    piVar4 = (int *)(*(code *)PTR___ctype_b_loc_0002c32c)();
    do {
      iVar3 = (*(code *)PTR_strlen_0002c3e4)(param_2);
      if ((*(ushort *)(*piVar4 + param_2[iVar3 + -1] * 2) & 0x20) == 0) break;
      param_2[iVar3 + -1] = '\0';
    } while (*param_2 != '\0');
  }
  iVar3 = utf8len(param_2);
  if (iVar3 == -1) {
    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47f0,5);
    fatal_error(uVar6,param_2);
  }
  else if (1 < iVar3) goto LAB_00018628;
  uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47c0,5);
  fatal_error(uVar6,param_2);
LAB_00018628:
  if (param_2[1] != ':') {
    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47b0,5);
    fatal_error(uVar6,param_2);
  }
  uVar8 = (int)*param_2 - 0x47;
  if ((*param_2 != 0x2a) &&
     (((0x12 < (uVar8 & 0xff) || (-1 < (int)((0x40081U >> (uVar8 & 0x1f)) << 0x1f))) &&
      (iVar3 = utf8len(param_2 + 2), *(int *)PTR_COLS_0002c3b8 < iVar3)))) {
    uVar6 = (*(code *)PTR_dcgettext_0002c448)(0,PTR_DAT_0002c238 + -0x47a4,5);
    fatal_error(uVar6,param_2);
    return;
  }
  return;
}

