
/* WARNING: Unknown calling convention */

yy_state_type yy_get_previous_state(void)

{
  bool bVar1;
  uint uVar2;
  long lVar3;
  int iVar4;
  ulong uVar5;
  byte *pbVar6;
  byte *pbVar7;
  uint uVar8;
  
  uVar2 = yy_start;
  if (yytext < yy_c_buf_p) {
    bVar1 = false;
    pbVar6 = (byte *)yytext;
    pbVar7 = (byte *)yy_last_accepting_cpos;
    uVar8 = yy_last_accepting_state;
    do {
      uVar5 = 1;
      if (*pbVar6 != 0) {
        uVar5 = (ulong)""[*pbVar6];
      }
      lVar3 = (long)(int)uVar2;
      if (yy_accept[lVar3] != 0) {
        bVar1 = true;
        uVar8 = uVar2;
        pbVar7 = pbVar6;
      }
      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {
        uVar2 = (uint)yy_def[lVar3];
        if (0x718 < (int)uVar2) {
          uVar5 = (ulong)""[uVar5];
        }
        lVar3 = (long)(int)uVar2;
      }
      uVar2 = (uint)yy_nxt[iVar4];
      pbVar6 = pbVar6 + 1;
    } while (pbVar6 != (byte *)yy_c_buf_p);
    if (bVar1) {
      yy_last_accepting_cpos = (char *)pbVar7;
      yy_last_accepting_state = uVar8;
    }
  }
  return uVar2;
}



void FUN_0010cfa0(void)

{
  bool bVar1;
  uint uVar2;
  long lVar3;
  long lVar4;
  ulong uVar5;
  byte *pbVar6;
  byte *pbVar7;
  uint uVar8;
  
  if (DAT_0017b920 < DAT_0017b1c8) {
    bVar1 = false;
    pbVar6 = DAT_0017b920;
    pbVar7 = DAT_0017b1b0;
    uVar2 = DAT_0017b1bc;
    uVar8 = DAT_0017b1b8;
    do {
      uVar5 = 1;
      if (*pbVar6 != 0) {
        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];
      }
      lVar3 = (long)(int)uVar2;
      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {
        bVar1 = true;
        uVar8 = uVar2;
        pbVar7 = pbVar6;
      }
      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),
            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {
        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);
        if (0x718 < (int)uVar2) {
          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];
        }
        lVar3 = (long)(int)uVar2;
      }
      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);
      pbVar6 = pbVar6 + 1;
    } while (pbVar6 != DAT_0017b1c8);
    if (bVar1) {
      DAT_0017b1b0 = pbVar7;
      DAT_0017b1b8 = uVar8;
    }
  }
  return;
}


MOV R11,qword ptr [0x0017b920]
MOV EAX,dword ptr [0x0017b1bc]
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,qword ptr [0x0017b1c8]
MOV qword ptr [RSP + -0x8],RBX
CMP R11,RBX
JNC 0x0010d093
MOV R14D,dword ptr [0x0017b1b8]
MOV R13,qword ptr [0x0017b1b0]
XOR R12D,R12D
LEA RBP,[0x13a3e0]
LEA R9,[0x139400]
LEA R8,[0x135640]
LEA R15,[0x136de0]
LEA R10,[0x138580]
LEA RBX,[0x13a280]
NOP word ptr [RAX + RAX*0x1]
MOVZX EDX,byte ptr [R11]
MOV ESI,0x1
TEST DL,DL
JZ 0x0010d028
LEA RDI,[0x13a2e0]
MOVZX ESI,byte ptr [RDI + RDX*0x1]
MOVSXD RCX,EAX
MOV EDI,0x1
CMP word ptr [RBP + RCX*0x2],0x0
CMOVNZ R13,R11
CMOVNZ R14D,EAX
CMOVNZ R12D,EDI
JMP 0x0010d05d
MOVSX EAX,word ptr [R10 + RCX*0x2]
CMP EAX,0x718
JLE 0x0010d05a
MOV ESI,ESI
MOVZX ESI,byte ptr [RBX + RSI*0x1]
MOVSXD RCX,EAX
MOVZX EDX,word ptr [R9 + RCX*0x2]
ADD EDX,ESI
MOVSXD RDX,EDX
MOVSX EDI,word ptr [R8 + RDX*0x2]
CMP EDI,EAX
JNZ 0x0010d048
MOVZX EAX,word ptr [R15 + RDX*0x2]
ADD R11,0x1
CMP R11,qword ptr [RSP + -0x8]
JNZ 0x0010d010
TEST R12B,R12B
JZ 0x0010d093
MOV dword ptr [0x0017b1b8],R14D
MOV qword ptr [0x0017b1b0],R13
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "void FUN_0010cfa0(void)\n\n{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010cfa0(void)\n\n{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010cfa0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (if_statement "if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }" if (parenthesized_expression "(DAT_0017b920 < DAT_0017b1c8)" ( (binary_expression "DAT_0017b920 < DAT_0017b1c8" identifier < identifier) )) (compound_statement "{\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pbVar6 = DAT_0017b920;" (assignment_expression "pbVar6 = DAT_0017b920" identifier = identifier) ;) (expression_statement "pbVar7 = DAT_0017b1b0;" (assignment_expression "pbVar7 = DAT_0017b1b0" identifier = identifier) ;) (expression_statement "uVar2 = DAT_0017b1bc;" (assignment_expression "uVar2 = DAT_0017b1bc" identifier = identifier) ;) (expression_statement "uVar8 = DAT_0017b1b8;" (assignment_expression "uVar8 = DAT_0017b1b8" identifier = identifier) ;) (do_statement "do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);" do (compound_statement "{\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (if_statement "if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }" if (parenthesized_expression "(*pbVar6 != 0)" ( (binary_expression "*pbVar6 != 0" (pointer_expression "*pbVar6" * identifier) != number_literal) )) (compound_statement "{\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }" { (expression_statement "uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];" (assignment_expression "uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6]" identifier = (subscript_expression "(ulong)(byte)(&DAT_0013a2e0)[*pbVar6]" (call_expression "(ulong)(byte)(&DAT_0013a2e0)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_0013a2e0)" ( (pointer_expression "&DAT_0013a2e0" & identifier) ))) [ (pointer_expression "*pbVar6" * identifier) ])) ;) })) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" identifier = (cast_expression "(long)(int)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" if (parenthesized_expression "(*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0)" ( (binary_expression "*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0" (pointer_expression "*(short *)(&DAT_0013a3e0 + lVar3 * 2)" * (cast_expression "(short *)(&DAT_0013a3e0 + lVar3 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013a3e0 + lVar3 * 2)" ( (binary_expression "&DAT_0013a3e0 + lVar3 * 2" (pointer_expression "&DAT_0013a3e0" & identifier) + (binary_expression "lVar3 * 2" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "uVar8 = uVar2;" (assignment_expression "uVar8 = uVar2" identifier = identifier) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) })) (while_statement "while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" while (parenthesized_expression "(lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2)" ( (comma_expression "lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2" (assignment_expression "lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" identifier = (cast_expression "(long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" ( (binary_expression "(uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5" (binary_expression "(uint)*(ushort *)(&DAT_00139400 + lVar3 * 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(&DAT_00139400 + lVar3 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00139400 + lVar3 * 2)" ( (binary_expression "&DAT_00139400 + lVar3 * 2" (pointer_expression "&DAT_00139400" & identifier) + (binary_expression "lVar3 * 2" identifier * number_literal)) )))) + (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) , (binary_expression "(int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2" (cast_expression "(int)*(short *)(&DAT_00135640 + lVar4 * 2)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(&DAT_00135640 + lVar4 * 2)" * (cast_expression "(short *)(&DAT_00135640 + lVar4 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00135640 + lVar4 * 2)" ( (binary_expression "&DAT_00135640 + lVar4 * 2" (pointer_expression "&DAT_00135640" & identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) != identifier)) )) (compound_statement "{\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" { (expression_statement "uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);" (assignment_expression "uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2)" identifier = (binary_expression "(uint)*(short *)(&DAT_00138580 + lVar3 * 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(short *)(&DAT_00138580 + lVar3 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00138580 + lVar3 * 2)" ( (binary_expression "&DAT_00138580 + lVar3 * 2" (pointer_expression "&DAT_00138580" & identifier) + (binary_expression "lVar3 * 2" identifier * number_literal)) ))))) ;) (if_statement "if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }" if (parenthesized_expression "(0x718 < (int)uVar2)" ( (binary_expression "0x718 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }" { (expression_statement "uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];" (assignment_expression "uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5]" identifier = (subscript_expression "(ulong)(byte)(&DAT_0013a280)[uVar5]" (call_expression "(ulong)(byte)(&DAT_0013a280)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_0013a280)" ( (pointer_expression "&DAT_0013a280" & identifier) ))) [ identifier ])) ;) })) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" identifier = (cast_expression "(long)(int)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);" (assignment_expression "uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2)" identifier = (binary_expression "(uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(&DAT_00136de0 + lVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00136de0 + lVar4 * 2)" ( (binary_expression "&DAT_00136de0 + lVar4 * 2" (pointer_expression "&DAT_00136de0" & identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar6 != DAT_0017b1c8)" ( (binary_expression "pbVar6 != DAT_0017b1c8" identifier != identifier) )) ;) (if_statement "if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }" { (expression_statement "DAT_0017b1b0 = pbVar7;" (assignment_expression "DAT_0017b1b0 = pbVar7" identifier = identifier) ;) (expression_statement "DAT_0017b1b8 = uVar8;" (assignment_expression "DAT_0017b1b8 = uVar8" identifier = 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  uint uVar2;\n  long lVar3;\n  int iVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  uVar2 = yy_start;\n  if (yytext < yy_c_buf_p) {\n    bVar1 = false;\n    pbVar6 = (byte *)yytext;\n    pbVar7 = (byte *)yy_last_accepting_cpos;\n    uVar8 = yy_last_accepting_state;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != (byte *)yy_c_buf_p);\n    if (bVar1) {\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }\n  }\n  return uVar2;\n}\n\n" comment (function_definition "yy_state_type yy_get_previous_state(void)\n\n{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  int iVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  uVar2 = yy_start;\n  if (yytext < yy_c_buf_p) {\n    bVar1 = false;\n    pbVar6 = (byte *)yytext;\n    pbVar7 = (byte *)yy_last_accepting_cpos;\n    uVar8 = yy_last_accepting_state;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != (byte *)yy_c_buf_p);\n    if (bVar1) {\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }\n  }\n  return uVar2;\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  uint uVar2;\n  long lVar3;\n  int iVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  uVar2 = yy_start;\n  if (yytext < yy_c_buf_p) {\n    bVar1 = false;\n    pbVar6 = (byte *)yytext;\n    pbVar7 = (byte *)yy_last_accepting_cpos;\n    uVar8 = yy_last_accepting_state;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != (byte *)yy_c_buf_p);\n    if (bVar1) {\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }\n  }\n  return uVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "uVar2 = yy_start;" (assignment_expression "uVar2 = yy_start" identifier = identifier) ;) (if_statement "if (yytext < yy_c_buf_p) {\n    bVar1 = false;\n    pbVar6 = (byte *)yytext;\n    pbVar7 = (byte *)yy_last_accepting_cpos;\n    uVar8 = yy_last_accepting_state;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != (byte *)yy_c_buf_p);\n    if (bVar1) {\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }\n  }" if (parenthesized_expression "(yytext < yy_c_buf_p)" ( (binary_expression "yytext < yy_c_buf_p" identifier < identifier) )) (compound_statement "{\n    bVar1 = false;\n    pbVar6 = (byte *)yytext;\n    pbVar7 = (byte *)yy_last_accepting_cpos;\n    uVar8 = yy_last_accepting_state;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != (byte *)yy_c_buf_p);\n    if (bVar1) {\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pbVar6 = (byte *)yytext;" (assignment_expression "pbVar6 = (byte *)yytext" identifier = (cast_expression "(byte *)yytext" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar7 = (byte *)yy_last_accepting_cpos;" (assignment_expression "pbVar7 = (byte *)yy_last_accepting_cpos" identifier = (cast_expression "(byte *)yy_last_accepting_cpos" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "uVar8 = yy_last_accepting_state;" (assignment_expression "uVar8 = yy_last_accepting_state" identifier = identifier) ;) (do_statement "do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != (byte *)yy_c_buf_p);" do (compound_statement "{\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)yy_nxt[iVar4];\n      pbVar6 = pbVar6 + 1;\n    }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (if_statement "if (*pbVar6 != 0) {\n        uVar5 = (ulong)""[*pbVar6];\n      }" if (parenthesized_expression "(*pbVar6 != 0)" ( (binary_expression "*pbVar6 != 0" (pointer_expression "*pbVar6" * identifier) != number_literal) )) (compound_statement "{\n        uVar5 = (ulong)""[*pbVar6];\n      }" { (expression_statement "uVar5 = (ulong)""[*pbVar6];" (assignment_expression "uVar5 = (ulong)""[*pbVar6]" identifier = (cast_expression "(ulong)""[*pbVar6]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression """[*pbVar6]" (string_literal """" " ") [ (pointer_expression "*pbVar6" * identifier) ]))) ;) })) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" identifier = (cast_expression "(long)(int)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (yy_accept[lVar3] != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" if (parenthesized_expression "(yy_accept[lVar3] != 0)" ( (binary_expression "yy_accept[lVar3] != 0" (subscript_expression "yy_accept[lVar3]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "uVar8 = uVar2;" (assignment_expression "uVar8 = uVar2" identifier = identifier) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) })) (while_statement "while (iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2) {\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" while (parenthesized_expression "(iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2)" ( (comma_expression "iVar4 = (uint)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != uVar2" (assignment_expression "iVar4 = (uint)yy_base[lVar3] + (int)uVar5" identifier = (binary_expression "(uint)yy_base[lVar3] + (int)uVar5" (cast_expression "(uint)yy_base[lVar3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "yy_base[lVar3]" identifier [ identifier ])) + (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier))) , (binary_expression "(int)yy_chk[iVar4] != uVar2" (cast_expression "(int)yy_chk[iVar4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "yy_chk[iVar4]" identifier [ identifier ])) != identifier)) )) (compound_statement "{\n        uVar2 = (uint)yy_def[lVar3];\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" { (expression_statement "uVar2 = (uint)yy_def[lVar3];" (assignment_expression "uVar2 = (uint)yy_def[lVar3]" identifier = (cast_expression "(uint)yy_def[lVar3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "yy_def[lVar3]" identifier [ identifier ]))) ;) (if_statement "if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)""[uVar5];\n        }" if (parenthesized_expression "(0x718 < (int)uVar2)" ( (binary_expression "0x718 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          uVar5 = (ulong)""[uVar5];\n        }" { (expression_statement "uVar5 = (ulong)""[uVar5];" (assignment_expression "uVar5 = (ulong)""[uVar5]" identifier = (cast_expression "(ulong)""[uVar5]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression """[uVar5]" (string_literal """" " ") [ identifier ]))) ;) })) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" identifier = (cast_expression "(long)(int)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "uVar2 = (uint)yy_nxt[iVar4];" (assignment_expression "uVar2 = (uint)yy_nxt[iVar4]" identifier = (cast_expression "(uint)yy_nxt[iVar4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "yy_nxt[iVar4]" identifier [ identifier ]))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar6 != (byte *)yy_c_buf_p)" ( (binary_expression "pbVar6 != (byte *)yy_c_buf_p" identifier != (cast_expression "(byte *)yy_c_buf_p" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) ;) (if_statement "if (bVar1) {\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      yy_last_accepting_cpos = (char *)pbVar7;\n      yy_last_accepting_state = uVar8;\n    }" { (expression_statement "yy_last_accepting_cpos = (char *)pbVar7;" (assignment_expression "yy_last_accepting_cpos = (char *)pbVar7" identifier = (cast_expression "(char *)pbVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "yy_last_accepting_state = uVar8;" (assignment_expression "yy_last_accepting_state = uVar8" identifier = identifier) ;) })) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "void FUN_0010cfa0(void)\n\n{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010cfa0(void)\n\n{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010cfa0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (if_statement "if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }" if (parenthesized_expression "(DAT_0017b920 < DAT_0017b1c8)" ( (binary_expression "DAT_0017b920 < DAT_0017b1c8" identifier < identifier) )) (compound_statement "{\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pbVar6 = DAT_0017b920;" (assignment_expression "pbVar6 = DAT_0017b920" identifier = identifier) ;) (expression_statement "pbVar7 = DAT_0017b1b0;" (assignment_expression "pbVar7 = DAT_0017b1b0" identifier = identifier) ;) (expression_statement "uVar2 = DAT_0017b1bc;" (assignment_expression "uVar2 = DAT_0017b1bc" identifier = identifier) ;) (expression_statement "uVar8 = DAT_0017b1b8;" (assignment_expression "uVar8 = DAT_0017b1b8" identifier = identifier) ;) (do_statement "do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);" do (compound_statement "{\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (if_statement "if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }" if (parenthesized_expression "(*pbVar6 != 0)" ( (binary_expression "*pbVar6 != 0" (pointer_expression "*pbVar6" * identifier) != number_literal) )) (compound_statement "{\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }" { (expression_statement "uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];" (assignment_expression "uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6]" identifier = (subscript_expression "(ulong)(byte)(&DAT_0013a2e0)[*pbVar6]" (call_expression "(ulong)(byte)(&DAT_0013a2e0)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_0013a2e0)" ( (pointer_expression "&DAT_0013a2e0" & identifier) ))) [ (pointer_expression "*pbVar6" * identifier) ])) ;) })) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" identifier = (cast_expression "(long)(int)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" if (parenthesized_expression "(*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0)" ( (binary_expression "*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0" (pointer_expression "*(short *)(&DAT_0013a3e0 + lVar3 * 2)" * (cast_expression "(short *)(&DAT_0013a3e0 + lVar3 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0013a3e0 + lVar3 * 2)" ( (binary_expression "&DAT_0013a3e0 + lVar3 * 2" (pointer_expression "&DAT_0013a3e0" & identifier) + (binary_expression "lVar3 * 2" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (expression_statement "uVar8 = uVar2;" (assignment_expression "uVar8 = uVar2" identifier = identifier) ;) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" identifier = identifier) ;) })) (while_statement "while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" while (parenthesized_expression "(lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2)" ( (comma_expression "lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2" (assignment_expression "lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" identifier = (cast_expression "(long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" ( (binary_expression "(uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5" (binary_expression "(uint)*(ushort *)(&DAT_00139400 + lVar3 * 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(&DAT_00139400 + lVar3 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00139400 + lVar3 * 2)" ( (binary_expression "&DAT_00139400 + lVar3 * 2" (pointer_expression "&DAT_00139400" & identifier) + (binary_expression "lVar3 * 2" identifier * number_literal)) )))) + (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) , (binary_expression "(int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2" (cast_expression "(int)*(short *)(&DAT_00135640 + lVar4 * 2)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(&DAT_00135640 + lVar4 * 2)" * (cast_expression "(short *)(&DAT_00135640 + lVar4 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00135640 + lVar4 * 2)" ( (binary_expression "&DAT_00135640 + lVar4 * 2" (pointer_expression "&DAT_00135640" & identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) != identifier)) )) (compound_statement "{\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" { (expression_statement "uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);" (assignment_expression "uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2)" identifier = (binary_expression "(uint)*(short *)(&DAT_00138580 + lVar3 * 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(short *)(&DAT_00138580 + lVar3 * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00138580 + lVar3 * 2)" ( (binary_expression "&DAT_00138580 + lVar3 * 2" (pointer_expression "&DAT_00138580" & identifier) + (binary_expression "lVar3 * 2" identifier * number_literal)) ))))) ;) (if_statement "if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }" if (parenthesized_expression "(0x718 < (int)uVar2)" ( (binary_expression "0x718 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }" { (expression_statement "uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];" (assignment_expression "uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5]" identifier = (subscript_expression "(ulong)(byte)(&DAT_0013a280)[uVar5]" (call_expression "(ulong)(byte)(&DAT_0013a280)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_0013a280)" ( (pointer_expression "&DAT_0013a280" & identifier) ))) [ identifier ])) ;) })) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" identifier = (cast_expression "(long)(int)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);" (assignment_expression "uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2)" identifier = (binary_expression "(uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(&DAT_00136de0 + lVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00136de0 + lVar4 * 2)" ( (binary_expression "&DAT_00136de0 + lVar4 * 2" (pointer_expression "&DAT_00136de0" & identifier) + (binary_expression "lVar4 * 2" identifier * number_literal)) ))))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar6 != DAT_0017b1c8)" ( (binary_expression "pbVar6 != DAT_0017b1c8" identifier != identifier) )) ;) (if_statement "if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }" { (expression_statement "DAT_0017b1b0 = pbVar7;" (assignment_expression "DAT_0017b1b0 = pbVar7" identifier = identifier) ;) (expression_statement "DAT_0017b1b8 = uVar8;" (assignment_expression "DAT_0017b1b8 = uVar8" identifier = 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 IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (subscript_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (pointer_expression & IDENT) ))) [ (pointer_expression * IDENT) ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression 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 = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (pointer_expression & IDENT) ))) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0010cfa0(void)\n\n{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010cfa0(void)" (identifier "FUN_0010cfa0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  long lVar3;\n  long lVar4;\n  ulong uVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  \n  if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (if_statement "if (DAT_0017b920 < DAT_0017b1c8) {\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_0017b920 < DAT_0017b1c8)" (( "(") (binary_expression "DAT_0017b920 < DAT_0017b1c8" (identifier "DAT_0017b920") (< "<") (identifier "DAT_0017b1c8")) () ")")) (compound_statement "{\n    bVar1 = false;\n    pbVar6 = DAT_0017b920;\n    pbVar7 = DAT_0017b1b0;\n    uVar2 = DAT_0017b1bc;\n    uVar8 = DAT_0017b1b8;\n    do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);\n    if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }\n  }" ({ "{") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "pbVar6 = DAT_0017b920;" (assignment_expression "pbVar6 = DAT_0017b920" (identifier "pbVar6") (= "=") (identifier "DAT_0017b920")) (; ";")) (expression_statement "pbVar7 = DAT_0017b1b0;" (assignment_expression "pbVar7 = DAT_0017b1b0" (identifier "pbVar7") (= "=") (identifier "DAT_0017b1b0")) (; ";")) (expression_statement "uVar2 = DAT_0017b1bc;" (assignment_expression "uVar2 = DAT_0017b1bc" (identifier "uVar2") (= "=") (identifier "DAT_0017b1bc")) (; ";")) (expression_statement "uVar8 = DAT_0017b1b8;" (assignment_expression "uVar8 = DAT_0017b1b8" (identifier "uVar8") (= "=") (identifier "DAT_0017b1b8")) (; ";")) (do_statement "do {\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    } while (pbVar6 != DAT_0017b1c8);" (do "do") (compound_statement "{\n      uVar5 = 1;\n      if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }\n      lVar3 = (long)(int)uVar2;\n      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }\n      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }\n      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);\n      pbVar6 = pbVar6 + 1;\n    }" ({ "{") (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*pbVar6 != 0) {\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }" (if "if") (parenthesized_expression "(*pbVar6 != 0)" (( "(") (binary_expression "*pbVar6 != 0" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];\n      }" ({ "{") (expression_statement "uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];" (assignment_expression "uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6]" (identifier "uVar5") (= "=") (subscript_expression "(ulong)(byte)(&DAT_0013a2e0)[*pbVar6]" (call_expression "(ulong)(byte)(&DAT_0013a2e0)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (argument_list "(&DAT_0013a2e0)" (( "(") (pointer_expression "&DAT_0013a2e0" (& "&") (identifier "DAT_0013a2e0")) () ")"))) ([ "[") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (] "]"))) (; ";")) (} "}"))) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" (identifier "lVar3") (= "=") (cast_expression "(long)(int)uVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")))) (; ";")) (if_statement "if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" (if "if") (parenthesized_expression "(*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0)" (( "(") (binary_expression "*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0" (pointer_expression "*(short *)(&DAT_0013a3e0 + lVar3 * 2)" (* "*") (cast_expression "(short *)(&DAT_0013a3e0 + lVar3 * 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0013a3e0 + lVar3 * 2)" (( "(") (binary_expression "&DAT_0013a3e0 + lVar3 * 2" (pointer_expression "&DAT_0013a3e0" (& "&") (identifier "DAT_0013a3e0")) (+ "+") (binary_expression "lVar3 * 2" (identifier "lVar3") (* "*") (number_literal "2"))) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        bVar1 = true;\n        uVar8 = uVar2;\n        pbVar7 = pbVar6;\n      }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (expression_statement "uVar8 = uVar2;" (assignment_expression "uVar8 = uVar2" (identifier "uVar8") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "pbVar7 = pbVar6;" (assignment_expression "pbVar7 = pbVar6" (identifier "pbVar7") (= "=") (identifier "pbVar6")) (; ";")) (} "}"))) (while_statement "while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" (while "while") (parenthesized_expression "(lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2)" (( "(") (comma_expression "lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),\n            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2" (assignment_expression "lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" (identifier "lVar4") (= "=") (cast_expression "(long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5)" (( "(") (binary_expression "(uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5" (binary_expression "(uint)*(ushort *)(&DAT_00139400 + lVar3 * 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(&DAT_00139400 + lVar3 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00139400 + lVar3 * 2)" (( "(") (binary_expression "&DAT_00139400 + lVar3 * 2" (pointer_expression "&DAT_00139400" (& "&") (identifier "DAT_00139400")) (+ "+") (binary_expression "lVar3 * 2" (identifier "lVar3") (* "*") (number_literal "2"))) () ")")))) (+ "+") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) () ")"))))) (, ",") (binary_expression "(int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2" (cast_expression "(int)*(short *)(&DAT_00135640 + lVar4 * 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(&DAT_00135640 + lVar4 * 2)" (* "*") (cast_expression "(short *)(&DAT_00135640 + lVar4 * 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00135640 + lVar4 * 2)" (( "(") (binary_expression "&DAT_00135640 + lVar4 * 2" (pointer_expression "&DAT_00135640" (& "&") (identifier "DAT_00135640")) (+ "+") (binary_expression "lVar4 * 2" (identifier "lVar4") (* "*") (number_literal "2"))) () ")"))))) (!= "!=") (identifier "uVar2"))) () ")")) (compound_statement "{\n        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);\n        if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }\n        lVar3 = (long)(int)uVar2;\n      }" ({ "{") (expression_statement "uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);" (assignment_expression "uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2)" (identifier "uVar2") (= "=") (binary_expression "(uint)*(short *)(&DAT_00138580 + lVar3 * 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(short *)(&DAT_00138580 + lVar3 * 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00138580 + lVar3 * 2)" (( "(") (binary_expression "&DAT_00138580 + lVar3 * 2" (pointer_expression "&DAT_00138580" (& "&") (identifier "DAT_00138580")) (+ "+") (binary_expression "lVar3 * 2" (identifier "lVar3") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (if_statement "if (0x718 < (int)uVar2) {\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }" (if "if") (parenthesized_expression "(0x718 < (int)uVar2)" (( "(") (binary_expression "0x718 < (int)uVar2" (number_literal "0x718") (< "<") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) () ")")) (compound_statement "{\n          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];\n        }" ({ "{") (expression_statement "uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];" (assignment_expression "uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5]" (identifier "uVar5") (= "=") (subscript_expression "(ulong)(byte)(&DAT_0013a280)[uVar5]" (call_expression "(ulong)(byte)(&DAT_0013a280)" (call_expression "(ulong)(byte)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (argument_list "(&DAT_0013a280)" (( "(") (pointer_expression "&DAT_0013a280" (& "&") (identifier "DAT_0013a280")) () ")"))) ([ "[") (identifier "uVar5") (] "]"))) (; ";")) (} "}"))) (expression_statement "lVar3 = (long)(int)uVar2;" (assignment_expression "lVar3 = (long)(int)uVar2" (identifier "lVar3") (= "=") (cast_expression "(long)(int)uVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")))) (; ";")) (} "}"))) (expression_statement "uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);" (assignment_expression "uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2)" (identifier "uVar2") (= "=") (binary_expression "(uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(&DAT_00136de0 + lVar4 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00136de0 + lVar4 * 2)" (( "(") (binary_expression "&DAT_00136de0 + lVar4 * 2" (pointer_expression "&DAT_00136de0" (& "&") (identifier "DAT_00136de0")) (+ "+") (binary_expression "lVar4 * 2" (identifier "lVar4") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar6 != DAT_0017b1c8)" (( "(") (binary_expression "pbVar6 != DAT_0017b1c8" (identifier "pbVar6") (!= "!=") (identifier "DAT_0017b1c8")) () ")")) (; ";")) (if_statement "if (bVar1) {\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n      DAT_0017b1b0 = pbVar7;\n      DAT_0017b1b8 = uVar8;\n    }" ({ "{") (expression_statement "DAT_0017b1b0 = pbVar7;" (assignment_expression "DAT_0017b1b0 = pbVar7" (identifier "DAT_0017b1b0") (= "=") (identifier "pbVar7")) (; ";")) (expression_statement "DAT_0017b1b8 = uVar8;" (assignment_expression "DAT_0017b1b8 = uVar8" (identifier "DAT_0017b1b8") (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(void)

{
  bool bVar1;
  type_2 var_3;
  long lVar3;
  int iVar4;
  type_3 uVar5;
  type_4 *var_4;
  type_4 *pbVar7;
  type_2 uVar8;
  
  var_3 = yy_start;
  if (var_1 < var_2) {
    bVar1 = false;
    var_4 = (type_4 *)var_1;
    pbVar7 = (type_4 *)yy_last_accepting_cpos;
    uVar8 = yy_last_accepting_state;
    do {
      uVar5 = 1;
      if (*var_4 != 0) {
        uVar5 = (type_3)""[*var_4];
      }
      lVar3 = (long)(int)var_3;
      if (yy_accept[lVar3] != 0) {
        bVar1 = true;
        uVar8 = var_3;
        pbVar7 = var_4;
      }
      while (iVar4 = (type_2)yy_base[lVar3] + (int)uVar5, (int)yy_chk[iVar4] != var_3) {
        var_3 = (type_2)yy_def[lVar3];
        if (0x718 < (int)var_3) {
          uVar5 = (type_3)""[uVar5];
        }
        lVar3 = (long)(int)var_3;
      }
      var_3 = (type_2)yy_nxt[iVar4];
      var_4 = var_4 + 1;
    } while (var_4 != (type_4 *)var_2);
    if (bVar1) {
      yy_last_accepting_cpos = (char *)pbVar7;
      yy_last_accepting_state = uVar8;
    }
  }
  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: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (subscript_expression argument: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) right: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (return_statement))))

void MASKED(void)

{
  bool bVar1;
  uint uVar2;
  long lVar3;
  long lVar4;
  ulong uVar5;
  byte *pbVar6;
  byte *pbVar7;
  uint uVar8;
  
  if (DAT_0017b920 < DAT_0017b1c8) {
    bVar1 = false;
    pbVar6 = DAT_0017b920;
    pbVar7 = DAT_0017b1b0;
    uVar2 = DAT_0017b1bc;
    uVar8 = DAT_0017b1b8;
    do {
      uVar5 = 1;
      if (*pbVar6 != 0) {
        uVar5 = (ulong)(byte)(&DAT_0013a2e0)[*pbVar6];
      }
      lVar3 = (long)(int)uVar2;
      if (*(short *)(&DAT_0013a3e0 + lVar3 * 2) != 0) {
        bVar1 = true;
        uVar8 = uVar2;
        pbVar7 = pbVar6;
      }
      while (lVar4 = (long)(int)((uint)*(ushort *)(&DAT_00139400 + lVar3 * 2) + (int)uVar5),
            (int)*(short *)(&DAT_00135640 + lVar4 * 2) != uVar2) {
        uVar2 = (uint)*(short *)(&DAT_00138580 + lVar3 * 2);
        if (0x718 < (int)uVar2) {
          uVar5 = (ulong)(byte)(&DAT_0013a280)[uVar5];
        }
        lVar3 = (long)(int)uVar2;
      }
      uVar2 = (uint)*(ushort *)(&DAT_00136de0 + lVar4 * 2);
      pbVar6 = pbVar6 + 1;
    } while (pbVar6 != DAT_0017b1c8);
    if (bVar1) {
      DAT_0017b1b0 = pbVar7;
      DAT_0017b1b8 = uVar8;
    }
  }
  return;
}

