
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int plen(Ldisc ldisc,uchar c)

{
  Terminal *pTVar1;
  undefined3 in_register_00000014;
  uint uVar2;
  
  uVar2 = CONCAT31(in_register_00000014,c);
  if (uVar2 - 0x20 < 0x5f) {
    return 1;
  }
  if (uVar2 < 0xa0) {
    if (-1 < (char)c) {
      return 2;
    }
    pTVar1 = ldisc->term;
    if (pTVar1->utf == 0) goto LAB_0002dd80;
  }
  else {
    pTVar1 = ldisc->term;
    if (pTVar1->utf == 0) {
      if (pTVar1->ucsdata->line_codepage != 0x37) {
        return 1;
      }
LAB_0002dd80:
      if (pTVar1->ucsdata->line_codepage == 0x37) {
        return (uint)(0xbf < uVar2);
      }
      return 4;
    }
  }
  return uVar2 < 0xc0 ^ 1;
}



bool FUN_0002dd24(int *param_1,uint param_2)

{
  int iVar1;
  
  if (param_2 - 0x20 < 0x5f) {
    return true;
  }
  if (param_2 < 0xa0) {
    if (-1 < (char)param_2) {
      return (bool)2;
    }
    iVar1 = *param_1;
    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;
  }
  else {
    iVar1 = *param_1;
    if (*(int *)(iVar1 + 0xdc) == 0) {
      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {
        return true;
      }
LAB_0002dd80:
      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {
        return 0xbf < param_2;
      }
      return (bool)4;
    }
  }
  return 0xbf < param_2;
}


addiu v0,a1,-0x20
sltiu v0,v0,0x5f
bne v0,zero,0x0002dd60
_nop
sltiu v0,a1,0xa0
bne v0,zero,0x0002dd68
_seb v0,a1
lw v0,0x0(a0)
lw v1,0xdc(v0)
bne v1,zero,0x0002dd9c
_li v1,0x37
lw a0,0x1090(v0)
lw a0,0xc(a0)
beq a0,v1,0x0002dd80
_nop
jr ra
_li v0,0x1
bgez v0,0x0002dda8
_nop
lw v0,0x0(a0)
lw v1,0xdc(v0)
bne v1,zero,0x0002dd9c
_nop
lw v1,0x1090(v0)
li v0,0x37
lw v1,0xc(v1)
beq v1,v0,0x0002ddb0
_sltiu a1,a1,0xc0
jr ra
_li v0,0x4
sltiu a1,a1,0xc0
jr ra
_xori v0,a1,0x1
jr ra
_li v0,0x2
jr ra
_sltiu v0,a1,0x1
(translation_unit "bool FUN_0002dd24(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}\n\n" (function_definition "bool FUN_0002dd24(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}" primitive_type (function_declarator "FUN_0002dd24(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }" if (parenthesized_expression "(param_2 - 0x20 < 0x5f)" ( (binary_expression "param_2 - 0x20 < 0x5f" (binary_expression "param_2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" if (parenthesized_expression "(param_2 < 0xa0)" ( (binary_expression "param_2 < 0xa0" identifier < number_literal) )) (compound_statement "{\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }" { (if_statement "if (-1 < (char)param_2) {\n      return (bool)2;\n    }" if (parenthesized_expression "(-1 < (char)param_2)" ( (binary_expression "-1 < (char)param_2" number_literal < (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      return (bool)2;\n    }" { (return_statement "return (bool)2;" return (cast_expression "(bool)2" ( (type_descriptor "bool" primitive_type) ) number_literal) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;" if (parenthesized_expression "(*(int *)(iVar1 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar1 + 0xdc) == 0" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0002dd80;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" else (compound_statement "{\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" { (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar1 + 0xdc) == 0" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }" { (if_statement "if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar1 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar1 + 0x1090)" * (cast_expression "(int *)(iVar1 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1090)" ( (binary_expression "iVar1 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (labeled_statement "LAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }" statement_identifier : (if_statement "if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar1 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar1 + 0x1090)" * (cast_expression "(int *)(iVar1 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1090)" ( (binary_expression "iVar1 + 0x1090" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n        return 0xbf < param_2;\n      }" { (return_statement "return 0xbf < param_2;" return (binary_expression "0xbf < param_2" number_literal < identifier) ;) }))) (return_statement "return (bool)4;" return (cast_expression "(bool)4" ( (type_descriptor "bool" primitive_type) ) number_literal) ;) })) }))) (return_statement "return 0xbf < param_2;" return (binary_expression "0xbf < param_2" number_literal < identifier) ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint plen(Ldisc ldisc,uchar c)\n\n{\n  Terminal *pTVar1;\n  undefined3 in_register_00000014;\n  uint uVar2;\n  \n  uVar2 = CONCAT31(in_register_00000014,c);\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)c) {\n      return 2;\n    }\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) goto LAB_0002dd80;\n  }\n  else {\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}\n\n" comment (function_definition "int plen(Ldisc ldisc,uchar c)\n\n{\n  Terminal *pTVar1;\n  undefined3 in_register_00000014;\n  uint uVar2;\n  \n  uVar2 = CONCAT31(in_register_00000014,c);\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)c) {\n      return 2;\n    }\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) goto LAB_0002dd80;\n  }\n  else {\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" primitive_type (function_declarator "plen(Ldisc ldisc,uchar c)" identifier (parameter_list "(Ldisc ldisc,uchar c)" ( (parameter_declaration "Ldisc ldisc" type_identifier identifier) , (parameter_declaration "uchar c" type_identifier identifier) ))) (compound_statement "{\n  Terminal *pTVar1;\n  undefined3 in_register_00000014;\n  uint uVar2;\n  \n  uVar2 = CONCAT31(in_register_00000014,c);\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)c) {\n      return 2;\n    }\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) goto LAB_0002dd80;\n  }\n  else {\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" { (declaration "Terminal *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "undefined3 in_register_00000014;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = CONCAT31(in_register_00000014,c);" (assignment_expression "uVar2 = CONCAT31(in_register_00000014,c)" identifier = (call_expression "CONCAT31(in_register_00000014,c)" identifier (argument_list "(in_register_00000014,c)" ( identifier , identifier )))) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uVar2 < 0xa0) {\n    if (-1 < (char)c) {\n      return 2;\n    }\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) goto LAB_0002dd80;\n  }\n  else {\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }\n  }" if (parenthesized_expression "(uVar2 < 0xa0)" ( (binary_expression "uVar2 < 0xa0" identifier < number_literal) )) (compound_statement "{\n    if (-1 < (char)c) {\n      return 2;\n    }\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) goto LAB_0002dd80;\n  }" { (if_statement "if (-1 < (char)c) {\n      return 2;\n    }" if (parenthesized_expression "(-1 < (char)c)" ( (binary_expression "-1 < (char)c" number_literal < (cast_expression "(char)c" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (expression_statement "pTVar1 = ldisc->term;" (assignment_expression "pTVar1 = ldisc->term" identifier = (field_expression "ldisc->term" identifier -> field_identifier)) ;) (if_statement "if (pTVar1->utf == 0) goto LAB_0002dd80;" if (parenthesized_expression "(pTVar1->utf == 0)" ( (binary_expression "pTVar1->utf == 0" (field_expression "pTVar1->utf" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_0002dd80;" goto statement_identifier ;)) }) (else_clause "else {\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }\n  }" else (compound_statement "{\n    pTVar1 = ldisc->term;\n    if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }\n  }" { (expression_statement "pTVar1 = ldisc->term;" (assignment_expression "pTVar1 = ldisc->term" identifier = (field_expression "ldisc->term" identifier -> field_identifier)) ;) (if_statement "if (pTVar1->utf == 0) {\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }" if (parenthesized_expression "(pTVar1->utf == 0)" ( (binary_expression "pTVar1->utf == 0" (field_expression "pTVar1->utf" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }\nLAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }\n      return 4;\n    }" { (if_statement "if (pTVar1->ucsdata->line_codepage != 0x37) {\n        return 1;\n      }" if (parenthesized_expression "(pTVar1->ucsdata->line_codepage != 0x37)" ( (binary_expression "pTVar1->ucsdata->line_codepage != 0x37" (field_expression "pTVar1->ucsdata->line_codepage" (field_expression "pTVar1->ucsdata" identifier -> field_identifier) -> field_identifier) != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_0002dd80:\n      if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }" statement_identifier : (if_statement "if (pTVar1->ucsdata->line_codepage == 0x37) {\n        return (uint)(0xbf < uVar2);\n      }" if (parenthesized_expression "(pTVar1->ucsdata->line_codepage == 0x37)" ( (binary_expression "pTVar1->ucsdata->line_codepage == 0x37" (field_expression "pTVar1->ucsdata->line_codepage" (field_expression "pTVar1->ucsdata" identifier -> field_identifier) -> field_identifier) == number_literal) )) (compound_statement "{\n        return (uint)(0xbf < uVar2);\n      }" { (return_statement "return (uint)(0xbf < uVar2);" return (call_expression "(uint)(0xbf < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xbf < uVar2)" ( (binary_expression "0xbf < uVar2" number_literal < identifier) ))) ;) }))) (return_statement "return 4;" return number_literal ;) })) }))) (return_statement "return uVar2 < 0xc0 ^ 1;" return (binary_expression "uVar2 < 0xc0 ^ 1" (binary_expression "uVar2 < 0xc0" identifier < number_literal) ^ number_literal) ;) })))
(translation_unit "bool FUN_0002dd24(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}\n\n" (function_definition "bool FUN_0002dd24(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}" primitive_type (function_declarator "FUN_0002dd24(int *param_1,uint param_2)" identifier (parameter_list "(int *param_1,uint param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }" if (parenthesized_expression "(param_2 - 0x20 < 0x5f)" ( (binary_expression "param_2 - 0x20 < 0x5f" (binary_expression "param_2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" if (parenthesized_expression "(param_2 < 0xa0)" ( (binary_expression "param_2 < 0xa0" identifier < number_literal) )) (compound_statement "{\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }" { (if_statement "if (-1 < (char)param_2) {\n      return (bool)2;\n    }" if (parenthesized_expression "(-1 < (char)param_2)" ( (binary_expression "-1 < (char)param_2" number_literal < (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      return (bool)2;\n    }" { (return_statement "return (bool)2;" return (cast_expression "(bool)2" ( (type_descriptor "bool" primitive_type) ) number_literal) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;" if (parenthesized_expression "(*(int *)(iVar1 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar1 + 0xdc) == 0" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0002dd80;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" else (compound_statement "{\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" { (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar1 + 0xdc) == 0" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }" { (if_statement "if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar1 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar1 + 0x1090)" * (cast_expression "(int *)(iVar1 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1090)" ( (binary_expression "iVar1 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (labeled_statement "LAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }" statement_identifier : (if_statement "if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar1 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar1 + 0x1090)" * (cast_expression "(int *)(iVar1 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1090)" ( (binary_expression "iVar1 + 0x1090" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n        return 0xbf < param_2;\n      }" { (return_statement "return 0xbf < param_2;" return (binary_expression "0xbf < param_2" number_literal < identifier) ;) }))) (return_statement "return (bool)4;" return (cast_expression "(bool)4" ( (type_descriptor "bool" primitive_type) ) number_literal) ;) })) }))) (return_statement "return 0xbf < param_2;" return (binary_expression "0xbf < param_2" number_literal < identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (return_statement return BOOL ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == LIT) )) (compound_statement { (return_statement return (binary_expression LIT < IDENT) ;) }))) (return_statement return (cast_expression ( (type_descriptor TYPE) ) LIT) ;) })) }))) (return_statement return (binary_expression LIT < IDENT) ;) })))
(function_definition "bool FUN_0002dd24(int *param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}" (primitive_type "bool") (function_declarator "FUN_0002dd24(int *param_1,uint param_2)" (identifier "FUN_0002dd24") (parameter_list "(int *param_1,uint param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }\n  if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }\n  return 0xbf < param_2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2 - 0x20 < 0x5f) {\n    return true;\n  }" (if "if") (parenthesized_expression "(param_2 - 0x20 < 0x5f)" (( "(") (binary_expression "param_2 - 0x20 < 0x5f" (binary_expression "param_2 - 0x20" (identifier "param_2") (- "-") (number_literal "0x20")) (< "<") (number_literal "0x5f")) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (if_statement "if (param_2 < 0xa0) {\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }\n  else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 0xa0)" (( "(") (binary_expression "param_2 < 0xa0" (identifier "param_2") (< "<") (number_literal "0xa0")) () ")")) (compound_statement "{\n    if (-1 < (char)param_2) {\n      return (bool)2;\n    }\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;\n  }" ({ "{") (if_statement "if (-1 < (char)param_2) {\n      return (bool)2;\n    }" (if "if") (parenthesized_expression "(-1 < (char)param_2)" (( "(") (binary_expression "-1 < (char)param_2" (number_literal "-1") (< "<") (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n      return (bool)2;\n    }" ({ "{") (return_statement "return (bool)2;" (return "return") (cast_expression "(bool)2" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0xdc) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0xdc) == 0" (pointer_expression "*(int *)(iVar1 + 0xdc)" (* "*") (cast_expression "(int *)(iVar1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xdc)" (( "(") (binary_expression "iVar1 + 0xdc" (identifier "iVar1") (+ "+") (number_literal "0xdc")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002dd80;" (goto "goto") (statement_identifier "LAB_0002dd80") (; ";"))) (} "}")) (else_clause "else {\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = *param_1;\n    if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0xdc) == 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0xdc) == 0" (pointer_expression "*(int *)(iVar1 + 0xdc)" (* "*") (cast_expression "(int *)(iVar1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xdc)" (( "(") (binary_expression "iVar1 + 0xdc" (identifier "iVar1") (+ "+") (number_literal "0xdc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }\nLAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }\n      return (bool)4;\n    }" ({ "{") (if_statement "if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {\n        return true;\n      }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x1090) + 0xc)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar1 + 0x1090)" (* "*") (cast_expression "(int *)(iVar1 + 0x1090)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1090)" (( "(") (binary_expression "iVar1 + 0x1090" (identifier "iVar1") (+ "+") (number_literal "0x1090")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0x37")) () ")")) (compound_statement "{\n        return true;\n      }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (labeled_statement "LAB_0002dd80:\n      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }" (statement_identifier "LAB_0002dd80") (: ":") (if_statement "if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {\n        return 0xbf < param_2;\n      }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x1090) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x1090) + 0xc)" (( "(") (binary_expression "*(int *)(iVar1 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar1 + 0x1090)" (* "*") (cast_expression "(int *)(iVar1 + 0x1090)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1090)" (( "(") (binary_expression "iVar1 + 0x1090" (identifier "iVar1") (+ "+") (number_literal "0x1090")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0x37")) () ")")) (compound_statement "{\n        return 0xbf < param_2;\n      }" ({ "{") (return_statement "return 0xbf < param_2;" (return "return") (binary_expression "0xbf < param_2" (number_literal "0xbf") (< "<") (identifier "param_2")) (; ";")) (} "}")))) (return_statement "return (bool)4;" (return "return") (cast_expression "(bool)4" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (number_literal "4")) (; ";")) (} "}"))) (} "}")))) (return_statement "return 0xbf < param_2;" (return "return") (binary_expression "0xbf < param_2" (number_literal "0xbf") (< "<") (identifier "param_2")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (primitive_type)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (true)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (number_literal) right: (identifier)))))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type)) value: (number_literal)))))))) (return_statement (binary_expression left: (number_literal) right: (identifier))))))

bool MASKED(int *param_1,uint param_2)

{
  int iVar1;
  
  if (param_2 - 0x20 < 0x5f) {
    return true;
  }
  if (param_2 < 0xa0) {
    if (-1 < (char)param_2) {
      return (bool)2;
    }
    iVar1 = *param_1;
    if (*(int *)(iVar1 + 0xdc) == 0) goto LAB_0002dd80;
  }
  else {
    iVar1 = *param_1;
    if (*(int *)(iVar1 + 0xdc) == 0) {
      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) != 0x37) {
        return true;
      }
LAB_0002dd80:
      if (*(int *)(*(int *)(iVar1 + 0x1090) + 0xc) == 0x37) {
        return 0xbf < param_2;
      }
      return (bool)4;
    }
  }
  return 0xbf < param_2;
}

