
/* WARNING: Unknown calling convention */

yy_state_type yy_get_previous_state(void)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  byte *pbVar7;
  int iVar8;
  byte *pbVar9;
  
  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  pbVar7 = *(byte **)PTR_gram_text_0008dc40;
  iVar3 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +
          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +
                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +
                  0x1c);
  if (pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)) {
    bVar1 = false;
    iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);
    pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);
    do {
      uVar6 = 0x3a;
      if (*pbVar7 != 0) {
        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];
      }
      iVar4 = iVar3 * 2;
      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {
        bVar1 = true;
        iVar8 = iVar3;
        pbVar9 = pbVar7;
      }
      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,
            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {
        while( true ) {
          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);
          iVar4 = iVar3 * 2;
          if (iVar3 < 0x23d) break;
          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];
          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;
          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;
        }
      }
LAB_00046544:
      pbVar7 = pbVar7 + 1;
      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);
    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));
    if (bVar1) {
      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;
      *(byte **)(puVar2 + -0x1afc) = pbVar9;
    }
  }
  return iVar3;
}



void FUN_00046400(void)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  byte *pbVar7;
  int iVar8;
  byte *pbVar9;
  
  puVar2 = PTR_DAT_0008d618;
  pbVar7 = *(byte **)PTR_gram_text_0008dc40;
  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +
          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +
                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);
  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {
    bVar1 = false;
    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);
    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);
    do {
      uVar6 = 0x3a;
      if (*pbVar7 != 0) {
        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];
      }
      iVar4 = iVar3 * 2;
      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {
        bVar1 = true;
        iVar8 = iVar3;
        pbVar9 = pbVar7;
      }
      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,
            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {
        while( true ) {
          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);
          iVar4 = iVar3 * 2;
          if (iVar3 < 0x23d) break;
          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];
          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;
          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;
        }
      }
LAB_00046544:
      pbVar7 = pbVar7 + 1;
      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);
    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));
    if (bVar1) {
      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;
      *(byte **)(puVar2 + -0x1afc) = pbVar9;
    }
  }
  return;
}


lui gp,0x5
addiu gp,gp,-0xe10
addu gp,gp,t9
lw v0,-0x7fd8(gp)
addiu sp,sp,-0x10
lw v1,-0x7fd8(gp)
lw a0,-0x79b0(gp)
sw s3,0xc(sp)
lw v0,-0x1ad8(v0)
lw v1,-0x1ae0(v1)
lw t3,0x0(a0)
sll v0,v0,0x2
lw a0,-0x7fd8(gp)
sw s2,0x8(sp)
addu v1,v1,v0
lw v0,-0x7fd8(gp)
sw s1,0x4(sp)
sw s0,0x0(sp)
lw t6,-0x1aec(a0)
lw a1,-0x1af4(v0)
lw v0,0x0(v1)
sltu a0,t3,t6
lw v0,0x1c(v0)
beq a0,zero,0x00046564
_addu v0,a1,v0
lw s2,-0x7fd8(gp)
or t8,zero,zero
lw s1,-0x7fd8(gp)
lw t5,-0x7df0(gp)
lw t2,-0x7df0(gp)
lw t1,-0x7df0(gp)
lw t4,-0x7df0(gp)
addiu t5,t5,-0x58cc
lw t7,-0x7df0(gp)
addiu t2,t2,-0x5eb8
lw t0,-0x7df0(gp)
addiu t1,t1,-0x7410
lw a3,-0x7df0(gp)
addiu t4,t4,-0x6bbc
lw s0,-0x1af8(s2)
addiu t7,t7,-0x59cc
lw t9,-0x1afc(s1)
addiu t0,t0,-0x6368
addiu a3,a3,-0x5a08
lb v1,0x0(t3)
beq v1,zero,0x000464c8
_li a1,0x3a
andi v1,v1,0xff
addu v1,v1,t7
lbu a1,0x0(v1)
sll v1,v0,0x1
addu a0,t5,v1
lh a0,0x0(a0)
beq a0,zero,0x000464ec
_addu a2,t2,v1
li t8,0x1
or t9,t3,zero
or s0,v0,zero
addu a2,t2,v1
addu a0,t0,v1
lh v1,0x0(a2)
addu v1,v1,a1
sll v1,v1,0x1
addu a2,t1,v1
lh a2,0x0(a2)
beq a2,v0,0x00046544
_addu s3,a1,a3
lh v0,0x0(a0)
slti a0,v0,0x23d
bne a0,zero,0x000464e8
_sll v1,v0,0x1
addu a2,t2,v1
lbu a1,0x0(s3)
addu a0,t0,v1
lh v1,0x0(a2)
addu v1,v1,a1
sll v1,v1,0x1
addu a2,t1,v1
lh a2,0x0(a2)
bne a2,v0,0x0004650c
_addu s3,a1,a3
addu v1,t4,v1
addiu t3,t3,0x1
bne t3,t6,0x000464b0
_lh v0,0x0(v1)
beq t8,zero,0x00046568
_lw s3,0xc(sp)
sw s0,-0x1af8(s2)
sw t9,-0x1afc(s1)
lw s3,0xc(sp)
lw s2,0x8(sp)
lw s1,0x4(sp)
lw s0,0x0(sp)
jr ra
_addiu sp,sp,0x10
(translation_unit "void FUN_00046400(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00046400(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00046400(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "pbVar7 = *(byte **)PTR_gram_text_0008dc40;" (assignment_expression "pbVar7 = *(byte **)PTR_gram_text_0008dc40" identifier = (pointer_expression "*(byte **)PTR_gram_text_0008dc40" * (cast_expression "(byte **)PTR_gram_text_0008dc40" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" identifier = (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af4)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af4)" ( (binary_expression "PTR_DAT_0008d618 + -0x1af4" identifier + number_literal) )))) + (pointer_expression "*(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" * (cast_expression "(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" ( (binary_expression "*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" * (cast_expression "(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" ( (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae0)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ae0" identifier + number_literal) )))) + (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ad8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ad8" identifier + number_literal) )))) * number_literal)) )))) + number_literal) )))))) ;) (if_statement "if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" if (parenthesized_expression "(pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec))" ( (binary_expression "pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)" identifier < (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1aec)" * (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1aec)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" ( (binary_expression "PTR_DAT_0008d618 + -0x1aec" identifier + number_literal) ))))) )) (compound_statement "{\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);" (assignment_expression "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1af8" identifier + number_literal) ))))) ;) (expression_statement "pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);" (assignment_expression "pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc)" identifier = (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1afc)" * (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1afc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1afc)" ( (binary_expression "PTR_DAT_0008d618 + -0x1afc" identifier + number_literal) ))))) ;) (do_statement "do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));" do (compound_statement "{\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    }" { (expression_statement "uVar6 = 0x3a;" (assignment_expression "uVar6 = 0x3a" identifier = number_literal) ;) (if_statement "if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" if (parenthesized_expression "(*pbVar7 != 0)" ( (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" * identifier) != number_literal) )) (compound_statement "{\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" { (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" identifier = (cast_expression "(uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_0008d800[*pbVar7 - 0x59cc]" identifier [ (binary_expression "*pbVar7 - 0x59cc" (pointer_expression "*pbVar7" * identifier) - number_literal) ])))) ;) })) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" if (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0)" ( (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x58cc)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x58cc" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) (expression_statement "pbVar9 = pbVar7;" (assignment_expression "pbVar9 = pbVar7" identifier = identifier) ;) })) (while_statement "while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" while (parenthesized_expression "(iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3)" ( (comma_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" identifier = (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" ( (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) ))))) + identifier) )) * number_literal)) , (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))) != identifier)) )) (compound_statement "{\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" { (while_statement "while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" { (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" identifier = (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x6368" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) )))))) ;) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (if_statement "if (iVar3 < 0x23d) break;" if (parenthesized_expression "(iVar3 < 0x23d)" ( (binary_expression "iVar3 < 0x23d" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" identifier = (cast_expression "(uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_0008d800[uVar6 - 0x5a08]" identifier [ (binary_expression "uVar6 - 0x5a08" identifier - number_literal) ])))) ;) (expression_statement "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" identifier = (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" ( (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) ))))) + identifier) )) * number_literal)) ;) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;" if (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3)" ( (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))) == identifier) )) (goto_statement "goto LAB_00046544;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00046544:\n      pbVar7 = pbVar7 + 1;" statement_identifier : (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;)) (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" identifier = (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x6bbc" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))))) ;) }) while (parenthesized_expression "(pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec))" ( (binary_expression "pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec)" identifier != (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1aec)" * (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1aec)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" ( (binary_expression "PTR_DAT_0008d618 + -0x1aec" identifier + number_literal) ))))) )) ;) (if_statement "if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" { (expression_statement "*(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;" (assignment_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1af8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)(puVar2 + -0x1afc) = pbVar9;" (assignment_expression "*(byte **)(puVar2 + -0x1afc) = pbVar9" (pointer_expression "*(byte **)(puVar2 + -0x1afc)" * (cast_expression "(byte **)(puVar2 + -0x1afc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + -0x1afc)" ( (binary_expression "puVar2 + -0x1afc" identifier + number_literal) )))) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nyy_state_type yy_get_previous_state(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c);\n  if (pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return iVar3;\n}\n\n" comment (function_definition "yy_state_type yy_get_previous_state(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c);\n  if (pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return iVar3;\n}" type_identifier (function_declarator "yy_get_previous_state(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c);\n  if (pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return iVar3;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;" (assignment_expression "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618" identifier = identifier) ;) (expression_statement "pbVar7 = *(byte **)PTR_gram_text_0008dc40;" (assignment_expression "pbVar7 = *(byte **)PTR_gram_text_0008dc40" identifier = (pointer_expression "*(byte **)PTR_gram_text_0008dc40" * (cast_expression "(byte **)PTR_gram_text_0008dc40" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c);" (assignment_expression "iVar3 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c)" identifier = (binary_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c)" (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af4" identifier + number_literal) )))) + (pointer_expression "*(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c)" * (cast_expression "(int *)(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c)" ( (binary_expression "*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4) +\n                  0x1c" (pointer_expression "*(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4)" * (cast_expression "(int *)(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4)" ( (binary_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0) +\n                           *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ae0" identifier + number_literal) )))) + (binary_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1ad8" identifier + number_literal) )))) * number_literal)) )))) + number_literal) )))))) ;) (if_statement "if (pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" if (parenthesized_expression "(pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec))" ( (binary_expression "pbVar7 < *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" identifier < (pointer_expression "*(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" * (cast_expression "(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec" identifier + number_literal) ))))) )) (compound_statement "{\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8);" (assignment_expression "iVar8 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" identifier = (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8" identifier + number_literal) ))))) ;) (expression_statement "pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc);" (assignment_expression "pbVar9 = *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc)" identifier = (pointer_expression "*(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc)" * (cast_expression "(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1afc" identifier + number_literal) ))))) ;) (do_statement "do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec));" do (compound_statement "{\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    }" { (expression_statement "uVar6 = 0x3a;" (assignment_expression "uVar6 = 0x3a" identifier = number_literal) ;) (if_statement "if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" if (parenthesized_expression "(*pbVar7 != 0)" ( (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" * identifier) != number_literal) )) (compound_statement "{\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" { (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" identifier = (cast_expression "(uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_0008d800[*pbVar7 - 0x59cc]" identifier [ (binary_expression "*pbVar7 - 0x59cc" (pointer_expression "*pbVar7" * identifier) - number_literal) ])))) ;) })) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" if (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0)" ( (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x58cc)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x58cc" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) (expression_statement "pbVar9 = pbVar7;" (assignment_expression "pbVar9 = pbVar7" identifier = identifier) ;) })) (while_statement "while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" while (parenthesized_expression "(iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3)" ( (comma_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" identifier = (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" ( (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) ))))) + identifier) )) * number_literal)) , (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))) != identifier)) )) (compound_statement "{\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" { (while_statement "while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" { (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" identifier = (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x6368" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) )))))) ;) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (if_statement "if (iVar3 < 0x23d) break;" if (parenthesized_expression "(iVar3 < 0x23d)" ( (binary_expression "iVar3 < 0x23d" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" identifier = (cast_expression "(uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_0008d800[uVar6 - 0x5a08]" identifier [ (binary_expression "uVar6 - 0x5a08" identifier - number_literal) ])))) ;) (expression_statement "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" identifier = (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" ( (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) ))))) + identifier) )) * number_literal)) ;) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;" if (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3)" ( (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))) == identifier) )) (goto_statement "goto LAB_00046544;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00046544:\n      pbVar7 = pbVar7 + 1;" statement_identifier : (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;)) (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" identifier = (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x6bbc" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))))) ;) }) while (parenthesized_expression "(pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec))" ( (binary_expression "pbVar7 != *(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" identifier != (pointer_expression "*(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" * (cast_expression "(byte **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1aec" identifier + number_literal) ))))) )) ;) (if_statement "if (bVar1) {\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" { (expression_statement "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8;" (assignment_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8) = iVar8" (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1af8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)(puVar2 + -0x1afc) = pbVar9;" (assignment_expression "*(byte **)(puVar2 + -0x1afc) = pbVar9" (pointer_expression "*(byte **)(puVar2 + -0x1afc)" * (cast_expression "(byte **)(puVar2 + -0x1afc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + -0x1afc)" ( (binary_expression "puVar2 + -0x1afc" identifier + number_literal) )))) = identifier) ;) })) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "void FUN_00046400(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00046400(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00046400(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "pbVar7 = *(byte **)PTR_gram_text_0008dc40;" (assignment_expression "pbVar7 = *(byte **)PTR_gram_text_0008dc40" identifier = (pointer_expression "*(byte **)PTR_gram_text_0008dc40" * (cast_expression "(byte **)PTR_gram_text_0008dc40" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" identifier = (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af4)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af4)" ( (binary_expression "PTR_DAT_0008d618 + -0x1af4" identifier + number_literal) )))) + (pointer_expression "*(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" * (cast_expression "(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" ( (binary_expression "*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" * (cast_expression "(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" ( (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ae0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae0)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ae0" identifier + number_literal) )))) + (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ad8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ad8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1ad8" identifier + number_literal) )))) * number_literal)) )))) + number_literal) )))))) ;) (if_statement "if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" if (parenthesized_expression "(pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec))" ( (binary_expression "pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)" identifier < (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1aec)" * (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1aec)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" ( (binary_expression "PTR_DAT_0008d618 + -0x1aec" identifier + number_literal) ))))) )) (compound_statement "{\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);" (assignment_expression "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1af8" identifier + number_literal) ))))) ;) (expression_statement "pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);" (assignment_expression "pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc)" identifier = (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1afc)" * (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1afc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1afc)" ( (binary_expression "PTR_DAT_0008d618 + -0x1afc" identifier + number_literal) ))))) ;) (do_statement "do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));" do (compound_statement "{\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    }" { (expression_statement "uVar6 = 0x3a;" (assignment_expression "uVar6 = 0x3a" identifier = number_literal) ;) (if_statement "if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" if (parenthesized_expression "(*pbVar7 != 0)" ( (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" * identifier) != number_literal) )) (compound_statement "{\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" { (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" identifier = (cast_expression "(uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_0008d800[*pbVar7 - 0x59cc]" identifier [ (binary_expression "*pbVar7 - 0x59cc" (pointer_expression "*pbVar7" * identifier) - number_literal) ])))) ;) })) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" if (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0)" ( (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x58cc)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x58cc" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) (expression_statement "pbVar9 = pbVar7;" (assignment_expression "pbVar9 = pbVar7" identifier = identifier) ;) })) (while_statement "while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" while (parenthesized_expression "(iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3)" ( (comma_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" identifier = (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" ( (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) ))))) + identifier) )) * number_literal)) , (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))) != identifier)) )) (compound_statement "{\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" { (while_statement "while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" { (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" identifier = (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x6368)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x6368" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) )))))) ;) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" identifier = (binary_expression "iVar3 * 2" identifier * number_literal)) ;) (if_statement "if (iVar3 < 0x23d) break;" if (parenthesized_expression "(iVar3 < 0x23d)" ( (binary_expression "iVar3 < 0x23d" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" identifier = (cast_expression "(uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_0008d800[uVar6 - 0x5a08]" identifier [ (binary_expression "uVar6 - 0x5a08" identifier - number_literal) ])))) ;) (expression_statement "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" identifier = (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" ( (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" ( (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" identifier + identifier) + number_literal) ))))) + identifier) )) * number_literal)) ;) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;" if (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3)" ( (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))) == identifier) )) (goto_statement "goto LAB_00046544;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00046544:\n      pbVar7 = pbVar7 + 1;" statement_identifier : (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;)) (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" identifier = (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" * (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" ( (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x6bbc" (binary_expression "PTR_DAT_0008d800 + iVar5" identifier + identifier) + number_literal) )))))) ;) }) while (parenthesized_expression "(pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec))" ( (binary_expression "pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec)" identifier != (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1aec)" * (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1aec)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" ( (binary_expression "PTR_DAT_0008d618 + -0x1aec" identifier + number_literal) ))))) )) ;) (if_statement "if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" { (expression_statement "*(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;" (assignment_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af8)" ( (binary_expression "PTR_DAT_0008d618 + -0x1af8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)(puVar2 + -0x1afc) = pbVar9;" (assignment_expression "*(byte **)(puVar2 + -0x1afc) = pbVar9" (pointer_expression "*(byte **)(puVar2 + -0x1afc)" * (cast_expression "(byte **)(puVar2 + -0x1afc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + -0x1afc)" ( (binary_expression "puVar2 + -0x1afc" identifier + number_literal) )))) = identifier) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (pointer_expression * IDENT) - LIT) ])))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) + IDENT) )) * LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) != IDENT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT - LIT) ])))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) + IDENT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00046400(void)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00046400(void)" (identifier "FUN_00046400") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte *pbVar9;\n  \n  puVar2 = PTR_DAT_0008d618;\n  pbVar7 = *(byte **)PTR_gram_text_0008dc40;\n  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);\n  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (expression_statement "pbVar7 = *(byte **)PTR_gram_text_0008dc40;" (assignment_expression "pbVar7 = *(byte **)PTR_gram_text_0008dc40" (identifier "pbVar7") (= "=") (pointer_expression "*(byte **)PTR_gram_text_0008dc40" (* "*") (cast_expression "(byte **)PTR_gram_text_0008dc40" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_gram_text_0008dc40")))) (; ";")) (expression_statement "iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);" (assignment_expression "iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (identifier "iVar3") (= "=") (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1af4) +\n          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af4)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af4)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1af4" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1af4")) () ")")))) (+ "+") (pointer_expression "*(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c)" (( "(") (binary_expression "*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c" (pointer_expression "*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" (* "*") (cast_expression "(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4)" (( "(") (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0) +\n                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ae0)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ae0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ae0)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1ae0" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1ae0")) () ")")))) (+ "+") (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1ad8)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1ad8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1ad8)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1ad8" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1ad8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))))) (; ";")) (if_statement "if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" (if "if") (parenthesized_expression "(pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec))" (( "(") (binary_expression "pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)" (identifier "pbVar7") (< "<") (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1aec)" (* "*") (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1aec)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1aec" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1aec")) () ")"))))) () ")")) (compound_statement "{\n    bVar1 = false;\n    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);\n    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);\n    do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));\n    if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }\n  }" ({ "{") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);" (assignment_expression "iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af8)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1af8" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1af8")) () ")"))))) (; ";")) (expression_statement "pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);" (assignment_expression "pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc)" (identifier "pbVar9") (= "=") (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1afc)" (* "*") (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1afc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1afc)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1afc" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1afc")) () ")"))))) (; ";")) (do_statement "do {\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));" (do "do") (compound_statement "{\n      uVar6 = 0x3a;\n      if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }\n      iVar4 = iVar3 * 2;\n      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }\n      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }\nLAB_00046544:\n      pbVar7 = pbVar7 + 1;\n      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);\n    }" ({ "{") (expression_statement "uVar6 = 0x3a;" (assignment_expression "uVar6 = 0x3a" (identifier "uVar6") (= "=") (number_literal "0x3a")) (; ";")) (if_statement "if (*pbVar7 != 0) {\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" (if "if") (parenthesized_expression "(*pbVar7 != 0)" (( "(") (binary_expression "*pbVar7 != 0" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];\n      }" ({ "{") (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" (identifier "uVar6") (= "=") (cast_expression "(uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_0008d800[*pbVar7 - 0x59cc]" (identifier "PTR_DAT_0008d800") ([ "[") (binary_expression "*pbVar7 - 0x59cc" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (- "-") (number_literal "0x59cc")) (] "]"))))) (; ";")) (} "}"))) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" (identifier "iVar4") (= "=") (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" (if "if") (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0)" (( "(") (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x58cc)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x58cc" (binary_expression "PTR_DAT_0008d800 + iVar4" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-0x58cc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        bVar1 = true;\n        iVar8 = iVar3;\n        pbVar9 = pbVar7;\n      }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" (identifier "iVar8") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "pbVar9 = pbVar7;" (assignment_expression "pbVar9 = pbVar7" (identifier "pbVar9") (= "=") (identifier "pbVar7")) (; ";")) (} "}"))) (while_statement "while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" (while "while") (parenthesized_expression "(iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3)" (( "(") (comma_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,\n            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (identifier "iVar5") (= "=") (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" (( "(") (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-0x5eb8")) () ")"))))) (+ "+") (identifier "uVar6")) () ")")) (* "*") (number_literal "2"))) (, ",") (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar5")) (+ "+") (number_literal "-0x7410")) () ")")))) (!= "!=") (identifier "iVar3"))) () ")")) (compound_statement "{\n        while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }\n      }" ({ "{") (while_statement "while( true ) {\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);\n          iVar4 = iVar3 * 2;\n          if (iVar3 < 0x23d) break;\n          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];\n          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;\n          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;\n        }" ({ "{") (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" (identifier "iVar3") (= "=") (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x6368)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x6368" (binary_expression "PTR_DAT_0008d800 + iVar4" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-0x6368")) () ")")))))) (; ";")) (expression_statement "iVar4 = iVar3 * 2;" (assignment_expression "iVar4 = iVar3 * 2" (identifier "iVar4") (= "=") (binary_expression "iVar3 * 2" (identifier "iVar3") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (iVar3 < 0x23d) break;" (if "if") (parenthesized_expression "(iVar3 < 0x23d)" (( "(") (binary_expression "iVar3 < 0x23d" (identifier "iVar3") (< "<") (number_literal "0x23d")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];" (assignment_expression "uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" (identifier "uVar6") (= "=") (cast_expression "(uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR_DAT_0008d800[uVar6 - 0x5a08]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_0008d800[uVar6 - 0x5a08]" (identifier "PTR_DAT_0008d800") ([ "[") (binary_expression "uVar6 - 0x5a08" (identifier "uVar6") (- "-") (number_literal "0x5a08")) (] "]"))))) (; ";")) (expression_statement "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;" (assignment_expression "iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (identifier "iVar5") (= "=") (binary_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2" (parenthesized_expression "((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6)" (( "(") (binary_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6" (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar4 + -0x5eb8)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar4 + -0x5eb8" (binary_expression "PTR_DAT_0008d800 + iVar4" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-0x5eb8")) () ")"))))) (+ "+") (identifier "uVar6")) () ")")) (* "*") (number_literal "2"))) (; ";")) (if_statement "if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;" (if "if") (parenthesized_expression "(*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3)" (( "(") (binary_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3" (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x7410)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x7410" (binary_expression "PTR_DAT_0008d800 + iVar5" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar5")) (+ "+") (number_literal "-0x7410")) () ")")))) (== "==") (identifier "iVar3")) () ")")) (goto_statement "goto LAB_00046544;" (goto "goto") (statement_identifier "LAB_00046544") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00046544:\n      pbVar7 = pbVar7 + 1;" (statement_identifier "LAB_00046544") (: ":") (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);" (assignment_expression "iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" (identifier "iVar3") (= "=") (cast_expression "(int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" (* "*") (cast_expression "(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d800 + iVar5 + -0x6bbc)" (( "(") (binary_expression "PTR_DAT_0008d800 + iVar5 + -0x6bbc" (binary_expression "PTR_DAT_0008d800 + iVar5" (identifier "PTR_DAT_0008d800") (+ "+") (identifier "iVar5")) (+ "+") (number_literal "-0x6bbc")) () ")")))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec))" (( "(") (binary_expression "pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec)" (identifier "pbVar7") (!= "!=") (pointer_expression "*(byte **)(PTR_DAT_0008d618 + -0x1aec)" (* "*") (cast_expression "(byte **)(PTR_DAT_0008d618 + -0x1aec)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1aec)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1aec" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1aec")) () ")"))))) () ")")) (; ";")) (if_statement "if (bVar1) {\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;\n      *(byte **)(puVar2 + -0x1afc) = pbVar9;\n    }" ({ "{") (expression_statement "*(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;" (assignment_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x1af8)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x1af8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x1af8)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x1af8" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1af8")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(byte **)(puVar2 + -0x1afc) = pbVar9;" (assignment_expression "*(byte **)(puVar2 + -0x1afc) = pbVar9" (pointer_expression "*(byte **)(puVar2 + -0x1afc)" (* "*") (cast_expression "(byte **)(puVar2 + -0x1afc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + -0x1afc)" (( "(") (binary_expression "puVar2 + -0x1afc" (identifier "puVar2") (+ "+") (number_literal "-0x1afc")) () ")")))) (= "=") (identifier "pbVar9")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(void)

{
  bool bVar1;
  type_2 *var_8;
  int var_3;
  int var_5;
  int var_7;
  type_3 var_6;
  type_4 *var_2;
  int iVar8;
  type_4 *pbVar9;
  
  var_8 = var_1;
  var_2 = *(type_4 **)PTR_gram_text_0008dc40;
  var_3 = *(int *)(var_1 + -0x1af4) +
          *(int *)(*(int *)(*(int *)(var_1 + -0x1ae0) +
                           *(int *)(var_1 + -0x1ad8) * 4) +
                  0x1c);
  if (var_2 < *(type_4 **)(var_1 + -0x1aec)) {
    bVar1 = false;
    iVar8 = *(int *)(var_1 + -0x1af8);
    pbVar9 = *(type_4 **)(var_1 + -0x1afc);
    do {
      var_6 = 0x3a;
      if (*var_2 != 0) {
        var_6 = (type_3)(type_4)var_4[*var_2 - 0x59cc];
      }
      var_5 = var_3 * 2;
      if (*(short *)(var_4 + var_5 + -0x58cc) != 0) {
        bVar1 = true;
        iVar8 = var_3;
        pbVar9 = var_2;
      }
      while (var_7 = ((int)*(short *)(var_4 + var_5 + -0x5eb8) + var_6) * 2,
            *(short *)(var_4 + var_7 + -0x7410) != var_3) {
        while( true ) {
          var_3 = (int)*(short *)(var_4 + var_5 + -0x6368);
          var_5 = var_3 * 2;
          if (var_3 < 0x23d) break;
          var_6 = (type_3)(type_4)var_4[var_6 - 0x5a08];
          var_7 = ((int)*(short *)(var_4 + var_5 + -0x5eb8) + var_6) * 2;
          if (*(short *)(var_4 + var_7 + -0x7410) == var_3) goto LAB_00046544;
        }
      }
LAB_00046544:
      var_2 = var_2 + 1;
      var_3 = (int)*(short *)(var_4 + var_7 + -0x6bbc);
    } while (var_2 != *(type_4 **)(var_1 + -0x1aec));
    if (bVar1) {
      *(int *)(var_1 + -0x1af8) = iVar8;
      *(type_4 **)(var_8 + -0x1afc) = pbVar9;
    }
  }
  return var_3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) right: (identifier))) right: (number_literal))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier)))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) right: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))))) (return_statement))))

void MASKED(void)

{
  bool bVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  byte *pbVar7;
  int iVar8;
  byte *pbVar9;
  
  puVar2 = PTR_DAT_0008d618;
  pbVar7 = *(byte **)PTR_gram_text_0008dc40;
  iVar3 = *(int *)(PTR_DAT_0008d618 + -0x1af4) +
          *(int *)(*(int *)(*(int *)(PTR_DAT_0008d618 + -0x1ae0) +
                           *(int *)(PTR_DAT_0008d618 + -0x1ad8) * 4) + 0x1c);
  if (pbVar7 < *(byte **)(PTR_DAT_0008d618 + -0x1aec)) {
    bVar1 = false;
    iVar8 = *(int *)(PTR_DAT_0008d618 + -0x1af8);
    pbVar9 = *(byte **)(PTR_DAT_0008d618 + -0x1afc);
    do {
      uVar6 = 0x3a;
      if (*pbVar7 != 0) {
        uVar6 = (uint)(byte)PTR_DAT_0008d800[*pbVar7 - 0x59cc];
      }
      iVar4 = iVar3 * 2;
      if (*(short *)(PTR_DAT_0008d800 + iVar4 + -0x58cc) != 0) {
        bVar1 = true;
        iVar8 = iVar3;
        pbVar9 = pbVar7;
      }
      while (iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2,
            *(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) != iVar3) {
        while( true ) {
          iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x6368);
          iVar4 = iVar3 * 2;
          if (iVar3 < 0x23d) break;
          uVar6 = (uint)(byte)PTR_DAT_0008d800[uVar6 - 0x5a08];
          iVar5 = ((int)*(short *)(PTR_DAT_0008d800 + iVar4 + -0x5eb8) + uVar6) * 2;
          if (*(short *)(PTR_DAT_0008d800 + iVar5 + -0x7410) == iVar3) goto LAB_00046544;
        }
      }
LAB_00046544:
      pbVar7 = pbVar7 + 1;
      iVar3 = (int)*(short *)(PTR_DAT_0008d800 + iVar5 + -0x6bbc);
    } while (pbVar7 != *(byte **)(PTR_DAT_0008d618 + -0x1aec));
    if (bVar1) {
      *(int *)(PTR_DAT_0008d618 + -0x1af8) = iVar8;
      *(byte **)(puVar2 + -0x1afc) = pbVar9;
    }
  }
  return;
}

