
_Bool is_colored(indicator_no type)

{
  ulong uVar1;
  long lVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  _Bool _Var7;
  
  uVar1 = color_indicator[type].len;
  _Var7 = false;
  if (uVar1 != 0) {
    if (uVar1 == 1) {
      _Var7 = *color_indicator[type].string != 0x30;
    }
    else {
      _Var7 = true;
      bVar5 = uVar1 < 2;
      bVar6 = uVar1 == 2;
      if (bVar6) {
        lVar2 = 2;
        pbVar3 = (byte *)color_indicator[type].string;
        pbVar4 = &DAT_00117964;
        do {
          if (lVar2 == 0) break;
          lVar2 = lVar2 + -1;
          bVar5 = *pbVar3 < *pbVar4;
          bVar6 = *pbVar3 == *pbVar4;
          pbVar3 = pbVar3 + 1;
          pbVar4 = pbVar4 + 1;
        } while (bVar6);
        _Var7 = (!bVar5 && !bVar6) != bVar5;
      }
    }
  }
  return _Var7;
}



bool FUN_00104d46(ulong param_1)

{
  ulong uVar1;
  long lVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  bool bVar7;
  
  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];
  bVar7 = false;
  if (uVar1 != 0) {
    if (uVar1 == 1) {
      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;
    }
    else {
      bVar7 = true;
      bVar5 = uVar1 < 2;
      bVar6 = uVar1 == 2;
      if (bVar6) {
        lVar2 = 2;
        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];
        pbVar4 = &DAT_00117964;
        do {
          if (lVar2 == 0) break;
          lVar2 = lVar2 + -1;
          bVar5 = *pbVar3 < *pbVar4;
          bVar6 = *pbVar3 == *pbVar4;
          pbVar3 = pbVar3 + 1;
          pbVar4 = pbVar4 + 1;
        } while (bVar6);
        bVar7 = (!bVar5 && !bVar6) != bVar5;
      }
    }
  }
  return bVar7;
}


MOV EAX,EDI
SHL RAX,0x4
LEA RDX,[0x1213c0]
MOV RDX,qword ptr [RDX + RAX*0x1]
MOV EAX,0x0
TEST RDX,RDX
JZ 0x00104d84
MOV EDI,EDI
SHL RDI,0x4
LEA RAX,[0x1213c0]
MOV RSI,qword ptr [RAX + RDI*0x1 + 0x8]
CMP RDX,0x1
JZ 0x00104d88
MOV EAX,0x1
CMP RDX,0x2
JZ 0x00104d93
AND EAX,0x1
RET
CMP byte ptr [RSI],0x30
SETNZ AL
MOVZX EAX,AL
JMP 0x00104d84
MOV ECX,0x2
LEA RDI,[0x117964]
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
SETNZ AL
MOVZX EAX,AL
JMP 0x00104d84
(translation_unit "bool FUN_00104d46(ulong param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}\n\n" (function_definition "bool FUN_00104d46(ulong param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}" primitive_type (function_declarator "FUN_00104d46(ulong param_1)" identifier (parameter_list "(ulong param_1)" ( (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];" (assignment_expression "uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2]" identifier = (subscript_expression "(&DAT_001213c0)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&DAT_001213c0)" ( (pointer_expression "&DAT_001213c0" & identifier) )) [ (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal) ])) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (if_statement "if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" { (if_statement "if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" if (parenthesized_expression "(uVar1 == 1)" ( (binary_expression "uVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }" { (expression_statement "bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;" (assignment_expression "bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30" identifier = (binary_expression "*(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30" (pointer_expression "*(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" * (subscript_expression "(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&PTR_DAT_001213c8)" ( (pointer_expression "&PTR_DAT_001213c8" & identifier) )) [ (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal) ])) != number_literal)) ;) }) (else_clause "else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" else (compound_statement "{\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "bVar5 = uVar1 < 2;" (assignment_expression "bVar5 = uVar1 < 2" identifier = (binary_expression "uVar1 < 2" identifier < number_literal)) ;) (expression_statement "bVar6 = uVar1 == 2;" (assignment_expression "bVar6 = uVar1 == 2" identifier = (binary_expression "uVar1 == 2" identifier == number_literal)) ;) (if_statement "if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }" { (expression_statement "lVar2 = 2;" (assignment_expression "lVar2 = 2" identifier = number_literal) ;) (expression_statement "pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];" (assignment_expression "pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" identifier = (subscript_expression "(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&PTR_DAT_001213c8)" ( (pointer_expression "&PTR_DAT_001213c8" & identifier) )) [ (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal) ])) ;) (expression_statement "pbVar4 = &DAT_00117964;" (assignment_expression "pbVar4 = &DAT_00117964" identifier = (pointer_expression "&DAT_00117964" & identifier)) ;) (do_statement "do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);" do (compound_statement "{\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        }" { (if_statement "if (lVar2 == 0) break;" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar2 = lVar2 + -1;" (assignment_expression "lVar2 = lVar2 + -1" identifier = (binary_expression "lVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar6 = *pbVar3 == *pbVar4;" (assignment_expression "bVar6 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar6)" ( identifier )) ;) (expression_statement "bVar7 = (!bVar5 && !bVar6) != bVar5;" (assignment_expression "bVar7 = (!bVar5 && !bVar6) != bVar5" identifier = (binary_expression "(!bVar5 && !bVar6) != bVar5" (parenthesized_expression "(!bVar5 && !bVar6)" ( (binary_expression "!bVar5 && !bVar6" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar6" ! identifier)) )) != identifier)) ;) })) }))) })) (return_statement "return bVar7;" return identifier ;) })))
(translation_unit "_Bool is_colored(indicator_no type)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  _Bool _Var7;\n  \n  uVar1 = color_indicator[type].len;\n  _Var7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      _Var7 = *color_indicator[type].string != 0x30;\n    }\n    else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return _Var7;\n}\n\n" (function_definition "_Bool is_colored(indicator_no type)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  _Bool _Var7;\n  \n  uVar1 = color_indicator[type].len;\n  _Var7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      _Var7 = *color_indicator[type].string != 0x30;\n    }\n    else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return _Var7;\n}" type_identifier (function_declarator "is_colored(indicator_no type)" identifier (parameter_list "(indicator_no type)" ( (parameter_declaration "indicator_no type" type_identifier identifier) ))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  _Bool _Var7;\n  \n  uVar1 = color_indicator[type].len;\n  _Var7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      _Var7 = *color_indicator[type].string != 0x30;\n    }\n    else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return _Var7;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "_Bool _Var7;" type_identifier identifier ;) (expression_statement "uVar1 = color_indicator[type].len;" (assignment_expression "uVar1 = color_indicator[type].len" identifier = (field_expression "color_indicator[type].len" (subscript_expression "color_indicator[type]" identifier [ identifier ]) . field_identifier)) ;) (expression_statement "_Var7 = false;" (assignment_expression "_Var7 = false" identifier = false) ;) (if_statement "if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      _Var7 = *color_indicator[type].string != 0x30;\n    }\n    else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (uVar1 == 1) {\n      _Var7 = *color_indicator[type].string != 0x30;\n    }\n    else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" { (if_statement "if (uVar1 == 1) {\n      _Var7 = *color_indicator[type].string != 0x30;\n    }\n    else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" if (parenthesized_expression "(uVar1 == 1)" ( (binary_expression "uVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      _Var7 = *color_indicator[type].string != 0x30;\n    }" { (expression_statement "_Var7 = *color_indicator[type].string != 0x30;" (assignment_expression "_Var7 = *color_indicator[type].string != 0x30" identifier = (binary_expression "*color_indicator[type].string != 0x30" (pointer_expression "*color_indicator[type].string" * (field_expression "color_indicator[type].string" (subscript_expression "color_indicator[type]" identifier [ identifier ]) . field_identifier)) != number_literal)) ;) }) (else_clause "else {\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" else (compound_statement "{\n      _Var7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" { (expression_statement "_Var7 = true;" (assignment_expression "_Var7 = true" identifier = true) ;) (expression_statement "bVar5 = uVar1 < 2;" (assignment_expression "bVar5 = uVar1 < 2" identifier = (binary_expression "uVar1 < 2" identifier < number_literal)) ;) (expression_statement "bVar6 = uVar1 == 2;" (assignment_expression "bVar6 = uVar1 == 2" identifier = (binary_expression "uVar1 == 2" identifier == number_literal)) ;) (if_statement "if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n        lVar2 = 2;\n        pbVar3 = (byte *)color_indicator[type].string;\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        _Var7 = (!bVar5 && !bVar6) != bVar5;\n      }" { (expression_statement "lVar2 = 2;" (assignment_expression "lVar2 = 2" identifier = number_literal) ;) (expression_statement "pbVar3 = (byte *)color_indicator[type].string;" (assignment_expression "pbVar3 = (byte *)color_indicator[type].string" identifier = (cast_expression "(byte *)color_indicator[type].string" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "color_indicator[type].string" (subscript_expression "color_indicator[type]" identifier [ identifier ]) . field_identifier))) ;) (expression_statement "pbVar4 = &DAT_00117964;" (assignment_expression "pbVar4 = &DAT_00117964" identifier = (pointer_expression "&DAT_00117964" & identifier)) ;) (do_statement "do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);" do (compound_statement "{\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        }" { (if_statement "if (lVar2 == 0) break;" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar2 = lVar2 + -1;" (assignment_expression "lVar2 = lVar2 + -1" identifier = (binary_expression "lVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar6 = *pbVar3 == *pbVar4;" (assignment_expression "bVar6 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar6)" ( identifier )) ;) (expression_statement "_Var7 = (!bVar5 && !bVar6) != bVar5;" (assignment_expression "_Var7 = (!bVar5 && !bVar6) != bVar5" identifier = (binary_expression "(!bVar5 && !bVar6) != bVar5" (parenthesized_expression "(!bVar5 && !bVar6)" ( (binary_expression "!bVar5 && !bVar6" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar6" ! identifier)) )) != identifier)) ;) })) }))) })) (return_statement "return _Var7;" return identifier ;) })))
(translation_unit "bool FUN_00104d46(ulong param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}\n\n" (function_definition "bool FUN_00104d46(ulong param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}" primitive_type (function_declarator "FUN_00104d46(ulong param_1)" identifier (parameter_list "(ulong param_1)" ( (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (expression_statement "uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];" (assignment_expression "uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2]" identifier = (subscript_expression "(&DAT_001213c0)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&DAT_001213c0)" ( (pointer_expression "&DAT_001213c0" & identifier) )) [ (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal) ])) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) (if_statement "if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" { (if_statement "if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" if (parenthesized_expression "(uVar1 == 1)" ( (binary_expression "uVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }" { (expression_statement "bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;" (assignment_expression "bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30" identifier = (binary_expression "*(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30" (pointer_expression "*(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" * (subscript_expression "(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&PTR_DAT_001213c8)" ( (pointer_expression "&PTR_DAT_001213c8" & identifier) )) [ (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal) ])) != number_literal)) ;) }) (else_clause "else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" else (compound_statement "{\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "bVar5 = uVar1 < 2;" (assignment_expression "bVar5 = uVar1 < 2" identifier = (binary_expression "uVar1 < 2" identifier < number_literal)) ;) (expression_statement "bVar6 = uVar1 == 2;" (assignment_expression "bVar6 = uVar1 == 2" identifier = (binary_expression "uVar1 == 2" identifier == number_literal)) ;) (if_statement "if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }" { (expression_statement "lVar2 = 2;" (assignment_expression "lVar2 = 2" identifier = number_literal) ;) (expression_statement "pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];" (assignment_expression "pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" identifier = (subscript_expression "(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&PTR_DAT_001213c8)" ( (pointer_expression "&PTR_DAT_001213c8" & identifier) )) [ (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" ( (binary_expression "param_1 & 0xffffffff" identifier & number_literal) )) * number_literal) ])) ;) (expression_statement "pbVar4 = &DAT_00117964;" (assignment_expression "pbVar4 = &DAT_00117964" identifier = (pointer_expression "&DAT_00117964" & identifier)) ;) (do_statement "do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);" do (compound_statement "{\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        }" { (if_statement "if (lVar2 == 0) break;" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar2 = lVar2 + -1;" (assignment_expression "lVar2 = lVar2 + -1" identifier = (binary_expression "lVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" identifier = (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" * identifier) < (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "bVar6 = *pbVar3 == *pbVar4;" (assignment_expression "bVar6 = *pbVar3 == *pbVar4" identifier = (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" * identifier) == (pointer_expression "*pbVar4" * identifier))) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar6)" ( identifier )) ;) (expression_statement "bVar7 = (!bVar5 && !bVar6) != bVar5;" (assignment_expression "bVar7 = (!bVar5 && !bVar6) != bVar5" identifier = (binary_expression "(!bVar5 && !bVar6) != bVar5" (parenthesized_expression "(!bVar5 && !bVar6)" ( (binary_expression "!bVar5 && !bVar6" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar6" ! identifier)) )) != identifier)) ;) })) }))) })) (return_statement "return bVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT) ])) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT) ])) != LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT) ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT)) ;) })) }))) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_00104d46(ulong param_1)\n\n{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}" (primitive_type "bool") (function_declarator "FUN_00104d46(ulong param_1)" (identifier "FUN_00104d46") (parameter_list "(ulong param_1)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  long lVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  bool bVar5;\n  bool bVar6;\n  bool bVar7;\n  \n  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];\n  bVar7 = false;\n  if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }\n  return bVar7;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (expression_statement "uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];" (assignment_expression "uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2]" (identifier "uVar1") (= "=") (subscript_expression "(&DAT_001213c0)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&DAT_001213c0)" (( "(") (pointer_expression "&DAT_001213c0" (& "&") (identifier "DAT_001213c0")) () ")")) ([ "[") (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" (( "(") (binary_expression "param_1 & 0xffffffff" (identifier "param_1") (& "&") (number_literal "0xffffffff")) () ")")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" (identifier "bVar7") (= "=") (false "false")) (; ";")) (if_statement "if (uVar1 != 0) {\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }\n  }" ({ "{") (if_statement "if (uVar1 == 1) {\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }\n    else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" (if "if") (parenthesized_expression "(uVar1 == 1)" (( "(") (binary_expression "uVar1 == 1" (identifier "uVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;\n    }" ({ "{") (expression_statement "bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;" (assignment_expression "bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30" (identifier "bVar7") (= "=") (binary_expression "*(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30" (pointer_expression "*(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (* "*") (subscript_expression "(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&PTR_DAT_001213c8)" (( "(") (pointer_expression "&PTR_DAT_001213c8" (& "&") (identifier "PTR_DAT_001213c8")) () ")")) ([ "[") (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" (( "(") (binary_expression "param_1 & 0xffffffff" (identifier "param_1") (& "&") (number_literal "0xffffffff")) () ")")) (* "*") (number_literal "2")) (] "]"))) (!= "!=") (number_literal "0x30"))) (; ";")) (} "}")) (else_clause "else {\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" (else "else") (compound_statement "{\n      bVar7 = true;\n      bVar5 = uVar1 < 2;\n      bVar6 = uVar1 == 2;\n      if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }\n    }" ({ "{") (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";")) (expression_statement "bVar5 = uVar1 < 2;" (assignment_expression "bVar5 = uVar1 < 2" (identifier "bVar5") (= "=") (binary_expression "uVar1 < 2" (identifier "uVar1") (< "<") (number_literal "2"))) (; ";")) (expression_statement "bVar6 = uVar1 == 2;" (assignment_expression "bVar6 = uVar1 == 2" (identifier "bVar6") (= "=") (binary_expression "uVar1 == 2" (identifier "uVar1") (== "==") (number_literal "2"))) (; ";")) (if_statement "if (bVar6) {\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }" (if "if") (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")")) (compound_statement "{\n        lVar2 = 2;\n        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];\n        pbVar4 = &DAT_00117964;\n        do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);\n        bVar7 = (!bVar5 && !bVar6) != bVar5;\n      }" ({ "{") (expression_statement "lVar2 = 2;" (assignment_expression "lVar2 = 2" (identifier "lVar2") (= "=") (number_literal "2")) (; ";")) (expression_statement "pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];" (assignment_expression "pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (identifier "pbVar3") (= "=") (subscript_expression "(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2]" (parenthesized_expression "(&PTR_DAT_001213c8)" (( "(") (pointer_expression "&PTR_DAT_001213c8" (& "&") (identifier "PTR_DAT_001213c8")) () ")")) ([ "[") (binary_expression "(param_1 & 0xffffffff) * 2" (parenthesized_expression "(param_1 & 0xffffffff)" (( "(") (binary_expression "param_1 & 0xffffffff" (identifier "param_1") (& "&") (number_literal "0xffffffff")) () ")")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "pbVar4 = &DAT_00117964;" (assignment_expression "pbVar4 = &DAT_00117964" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00117964" (& "&") (identifier "DAT_00117964"))) (; ";")) (do_statement "do {\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        } while (bVar6);" (do "do") (compound_statement "{\n          if (lVar2 == 0) break;\n          lVar2 = lVar2 + -1;\n          bVar5 = *pbVar3 < *pbVar4;\n          bVar6 = *pbVar3 == *pbVar4;\n          pbVar3 = pbVar3 + 1;\n          pbVar4 = pbVar4 + 1;\n        }" ({ "{") (if_statement "if (lVar2 == 0) break;" (if "if") (parenthesized_expression "(lVar2 == 0)" (( "(") (binary_expression "lVar2 == 0" (identifier "lVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar2 = lVar2 + -1;" (assignment_expression "lVar2 = lVar2 + -1" (identifier "lVar2") (= "=") (binary_expression "lVar2 + -1" (identifier "lVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar5 = *pbVar3 < *pbVar4;" (assignment_expression "bVar5 = *pbVar3 < *pbVar4" (identifier "bVar5") (= "=") (binary_expression "*pbVar3 < *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (< "<") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "bVar6 = *pbVar3 == *pbVar4;" (assignment_expression "bVar6 = *pbVar3 == *pbVar4" (identifier "bVar6") (= "=") (binary_expression "*pbVar3 == *pbVar4" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar6)" (( "(") (identifier "bVar6") () ")")) (; ";")) (expression_statement "bVar7 = (!bVar5 && !bVar6) != bVar5;" (assignment_expression "bVar7 = (!bVar5 && !bVar6) != bVar5" (identifier "bVar7") (= "=") (binary_expression "(!bVar5 && !bVar6) != bVar5" (parenthesized_expression "(!bVar5 && !bVar6)" (( "(") (binary_expression "!bVar5 && !bVar6" (unary_expression "!bVar5" (! "!") (identifier "bVar5")) (&& "&&") (unary_expression "!bVar6" (! "!") (identifier "bVar6"))) () ")")) (!= "!=") (identifier "bVar5"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (return_statement "return bVar7;" (return "return") (identifier "bVar7") (; ";")) (} "}")))

type_1 function_1(type_2 type)

{
  type_3 var_1;
  long var_2;
  type_4 *var_3;
  type_4 *var_4;
  bool var_5;
  bool bVar6;
  type_1 _Var7;
  
  var_1 = color_indicator[type].len;
  _Var7 = false;
  if (var_1 != 0) {
    if (var_1 == 1) {
      _Var7 = *color_indicator[type].string != 0x30;
    }
    else {
      _Var7 = true;
      var_5 = var_1 < 2;
      bVar6 = var_1 == 2;
      if (bVar6) {
        var_2 = 2;
        var_3 = (type_4 *)color_indicator[type].string;
        var_4 = &DAT_00117964;
        do {
          if (var_2 == 0) break;
          var_2 = var_2 + -1;
          var_5 = *var_3 < *var_4;
          bVar6 = *var_3 == *var_4;
          var_3 = var_3 + 1;
          var_4 = var_4 + 1;
        } while (bVar6);
        _Var7 = (!var_5 && !bVar6) != var_5;
      }
    }
  }
  return _Var7;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))))))))))) (return_statement (identifier)))))

bool MASKED(ulong param_1)

{
  ulong uVar1;
  long lVar2;
  byte *pbVar3;
  byte *pbVar4;
  bool bVar5;
  bool bVar6;
  bool bVar7;
  
  uVar1 = (&DAT_001213c0)[(param_1 & 0xffffffff) * 2];
  bVar7 = false;
  if (uVar1 != 0) {
    if (uVar1 == 1) {
      bVar7 = *(&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2] != 0x30;
    }
    else {
      bVar7 = true;
      bVar5 = uVar1 < 2;
      bVar6 = uVar1 == 2;
      if (bVar6) {
        lVar2 = 2;
        pbVar3 = (&PTR_DAT_001213c8)[(param_1 & 0xffffffff) * 2];
        pbVar4 = &DAT_00117964;
        do {
          if (lVar2 == 0) break;
          lVar2 = lVar2 + -1;
          bVar5 = *pbVar3 < *pbVar4;
          bVar6 = *pbVar3 == *pbVar4;
          pbVar3 = pbVar3 + 1;
          pbVar4 = pbVar4 + 1;
        } while (bVar6);
        bVar7 = (!bVar5 && !bVar6) != bVar5;
      }
    }
  }
  return bVar7;
}

