
bfd_boolean pr_set_type(void *p,bfd_boolean bitstringp)

{
  bfd_boolean bVar1;
  pr_handle *info_00;
  pr_handle *info;
  
  bVar1 = substitute_type((pr_handle *)p,"");
  if (bVar1 != 0) {
    info_00 = (pr_handle *)((long)p + 0x10);
    bVar1 = prepend_type(info_00,"set { ");
    if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {
      if (bitstringp == 0) {
        return 1;
      }
      bVar1 = append_type(info_00,"/* bitstring */");
      return (uint)(bVar1 != 0);
    }
  }
  return 0;
}



bool FUN_001286e0(long param_1,int param_2)

{
  int iVar1;
  
  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);
  if (iVar1 != 0) {
    param_1 = param_1 + 0x10;
    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);
    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {
      if (param_2 == 0) {
        return true;
      }
      iVar1 = FUN_00127080(param_1,"/* bitstring */");
      return iVar1 != 0;
    }
  }
  return false;
}


PUSH RBP
MOV EBP,ESI
LEA RSI,[0x13da2a]
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
CALL 0x00127110
TEST EAX,EAX
JNZ 0x00128708
XOR EAX,EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
ADD RBX,0x10
LEA RSI,[0x1458e0]
MOV RDI,RBX
CALL 0x00126fe0
TEST EAX,EAX
JZ 0x001286fb
LEA RSI,[0x1458e7]
MOV RDI,RBX
CALL 0x00127080
TEST EAX,EAX
JZ 0x001286fb
MOV EAX,0x1
TEST EBP,EBP
JZ 0x001286fd
LEA RSI,[0x1458ea]
MOV RDI,RBX
CALL 0x00127080
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
JMP 0x001286fd
(translation_unit "bool FUN_001286e0(long param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_001286e0(long param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_001286e0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00127110(param_1,&DAT_0013da2a);" (assignment_expression "iVar1 = FUN_00127110(param_1,&DAT_0013da2a)" identifier = (call_expression "FUN_00127110(param_1,&DAT_0013da2a)" identifier (argument_list "(param_1,&DAT_0013da2a)" ( identifier , (pointer_expression "&DAT_0013da2a" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }\n  }" { (expression_statement "param_1 = param_1 + 0x10;" (assignment_expression "param_1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);" (assignment_expression "iVar1 = FUN_00126fe0(param_1,&DAT_001458e0)" identifier = (call_expression "FUN_00126fe0(param_1,&DAT_001458e0)" identifier (argument_list "(param_1,&DAT_001458e0)" ( identifier , (pointer_expression "&DAT_001458e0" & identifier) )))) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0" (assignment_expression "iVar1 = FUN_00127080(param_1,&DAT_001458e7)" identifier = (call_expression "FUN_00127080(param_1,&DAT_001458e7)" identifier (argument_list "(param_1,&DAT_001458e7)" ( identifier , (pointer_expression "&DAT_001458e7" & identifier) )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"/* bitstring */");\n      return iVar1 != 0;\n    }" { (if_statement "if (param_2 == 0) {\n        return true;\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar1 = FUN_00127080(param_1,"/* bitstring */");" (assignment_expression "iVar1 = FUN_00127080(param_1,"/* bitstring */")" identifier = (call_expression "FUN_00127080(param_1,"/* bitstring */")" identifier (argument_list "(param_1,"/* bitstring */")" ( identifier , (string_literal ""/* bitstring */"" " string_content ") )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "bfd_boolean pr_set_type(void *p,bfd_boolean bitstringp)\n\n{\n  bfd_boolean bVar1;\n  pr_handle *info_00;\n  pr_handle *info;\n  \n  bVar1 = substitute_type((pr_handle *)p,"");\n  if (bVar1 != 0) {\n    info_00 = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info_00,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }\n  return 0;\n}\n\n" (function_definition "bfd_boolean pr_set_type(void *p,bfd_boolean bitstringp)\n\n{\n  bfd_boolean bVar1;\n  pr_handle *info_00;\n  pr_handle *info;\n  \n  bVar1 = substitute_type((pr_handle *)p,"");\n  if (bVar1 != 0) {\n    info_00 = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info_00,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "pr_set_type(void *p,bfd_boolean bitstringp)" identifier (parameter_list "(void *p,bfd_boolean bitstringp)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "bfd_boolean bitstringp" type_identifier identifier) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  pr_handle *info_00;\n  pr_handle *info;\n  \n  bVar1 = substitute_type((pr_handle *)p,"");\n  if (bVar1 != 0) {\n    info_00 = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info_00,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }\n  return 0;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "pr_handle *info_00;" type_identifier (pointer_declarator "*info_00" * identifier) ;) (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (expression_statement "bVar1 = substitute_type((pr_handle *)p,"");" (assignment_expression "bVar1 = substitute_type((pr_handle *)p,"")" identifier = (call_expression "substitute_type((pr_handle *)p,"")" identifier (argument_list "((pr_handle *)p,"")" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal """" " ") )))) ;) (if_statement "if (bVar1 != 0) {\n    info_00 = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info_00,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    info_00 = (pr_handle *)((long)p + 0x10);\n    bVar1 = prepend_type(info_00,"set { ");\n    if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }\n  }" { (expression_statement "info_00 = (pr_handle *)((long)p + 0x10);" (assignment_expression "info_00 = (pr_handle *)((long)p + 0x10)" identifier = (cast_expression "(pr_handle *)((long)p + 0x10)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar1 = prepend_type(info_00,"set { ");" (assignment_expression "bVar1 = prepend_type(info_00,"set { ")" identifier = (call_expression "prepend_type(info_00,"set { ")" identifier (argument_list "(info_00,"set { ")" ( identifier , (string_literal ""set { "" " string_content ") )))) ;) (if_statement "if ((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)) {\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }" if (parenthesized_expression "((bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0))" ( (binary_expression "(bVar1 != 0) && (bVar1 = append_type(info_00," }"), bVar1 != 0)" (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar1 = append_type(info_00," }"), bVar1 != 0)" ( (comma_expression "bVar1 = append_type(info_00," }"), bVar1 != 0" (assignment_expression "bVar1 = append_type(info_00," }")" identifier = (call_expression "append_type(info_00," }")" identifier (argument_list "(info_00," }")" ( identifier , (string_literal "" }"" " string_content ") )))) , (binary_expression "bVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (bitstringp == 0) {\n        return 1;\n      }\n      bVar1 = append_type(info_00,"/* bitstring */");\n      return (uint)(bVar1 != 0);\n    }" { (if_statement "if (bitstringp == 0) {\n        return 1;\n      }" if (parenthesized_expression "(bitstringp == 0)" ( (binary_expression "bitstringp == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar1 = append_type(info_00,"/* bitstring */");" (assignment_expression "bVar1 = append_type(info_00,"/* bitstring */")" identifier = (call_expression "append_type(info_00,"/* bitstring */")" identifier (argument_list "(info_00,"/* bitstring */")" ( identifier , (string_literal ""/* bitstring */"" " string_content ") )))) ;) (return_statement "return (uint)(bVar1 != 0);" return (call_expression "(uint)(bVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) ))) ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool FUN_001286e0(long param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_001286e0(long param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_001286e0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00127110(param_1,&DAT_0013da2a);" (assignment_expression "iVar1 = FUN_00127110(param_1,&DAT_0013da2a)" identifier = (call_expression "FUN_00127110(param_1,&DAT_0013da2a)" identifier (argument_list "(param_1,&DAT_0013da2a)" ( identifier , (pointer_expression "&DAT_0013da2a" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }" { (expression_statement "param_1 = param_1 + 0x10;" (assignment_expression "param_1 = param_1 + 0x10" identifier = (binary_expression "param_1 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);" (assignment_expression "iVar1 = FUN_00126fe0(param_1,&DAT_001458e0)" identifier = (call_expression "FUN_00126fe0(param_1,&DAT_001458e0)" identifier (argument_list "(param_1,&DAT_001458e0)" ( identifier , (pointer_expression "&DAT_001458e0" & identifier) )))) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0" (assignment_expression "iVar1 = FUN_00127080(param_1,&DAT_001458e7)" identifier = (call_expression "FUN_00127080(param_1,&DAT_001458e7)" identifier (argument_list "(param_1,&DAT_001458e7)" ( identifier , (pointer_expression "&DAT_001458e7" & identifier) )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }" { (if_statement "if (param_2 == 0) {\n        return true;\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (expression_statement "iVar1 = FUN_00127080(param_1,"");" (assignment_expression "iVar1 = FUN_00127080(param_1,"")" identifier = (call_expression "FUN_00127080(param_1,"")" identifier (argument_list "(param_1,"")" ( identifier , (string_literal """" " ") )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " ") )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_001286e0(long param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_001286e0(long param_1,int param_2)" (identifier "FUN_001286e0") (parameter_list "(long param_1,int param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n  if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }\n  return false;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00127110(param_1,&DAT_0013da2a);" (assignment_expression "iVar1 = FUN_00127110(param_1,&DAT_0013da2a)" (identifier "iVar1") (= "=") (call_expression "FUN_00127110(param_1,&DAT_0013da2a)" (identifier "FUN_00127110") (argument_list "(param_1,&DAT_0013da2a)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_0013da2a" (& "&") (identifier "DAT_0013da2a")) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = param_1 + 0x10;\n    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);\n    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }\n  }" ({ "{") (expression_statement "param_1 = param_1 + 0x10;" (assignment_expression "param_1 = param_1 + 0x10" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);" (assignment_expression "iVar1 = FUN_00126fe0(param_1,&DAT_001458e0)" (identifier "iVar1") (= "=") (call_expression "FUN_00126fe0(param_1,&DAT_001458e0)" (identifier "FUN_00126fe0") (argument_list "(param_1,&DAT_001458e0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_001458e0" (& "&") (identifier "DAT_001458e0")) () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }" (if "if") (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0))" (( "(") (binary_expression "(iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0" (assignment_expression "iVar1 = FUN_00127080(param_1,&DAT_001458e7)" (identifier "iVar1") (= "=") (call_expression "FUN_00127080(param_1,&DAT_001458e7)" (identifier "FUN_00127080") (argument_list "(param_1,&DAT_001458e7)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_001458e7" (& "&") (identifier "DAT_001458e7")) () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (param_2 == 0) {\n        return true;\n      }\n      iVar1 = FUN_00127080(param_1,"");\n      return iVar1 != 0;\n    }" ({ "{") (if_statement "if (param_2 == 0) {\n        return true;\n      }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return true;\n      }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_00127080(param_1,"");" (assignment_expression "iVar1 = FUN_00127080(param_1,"")" (identifier "iVar1") (= "=") (call_expression "FUN_00127080(param_1,"")" (identifier "FUN_00127080") (argument_list "(param_1,"")" (( "(") (identifier "param_1") (, ",") (string_literal """" (" """) (" """)) () ")")))) (; ";")) (return_statement "return iVar1 != 0;" (return "return") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

type_1 function_1(void *p,type_1 var_5)

{
  type_1 var_2;
  type_2 *info_00;
  type_2 *info;
  
  var_2 = var_1((type_2 *)p,"");
  if (var_2 != 0) {
    info_00 = (type_2 *)((long)p + 0x10);
    var_2 = var_3(info_00,"set { ");
    if ((var_2 != 0) && (var_2 = var_4(info_00," }"), var_2 != 0)) {
      if (var_5 == 0) {
        return 1;
      }
      var_2 = var_4(info_00,"/* bitstring */");
      return (uint)(var_2 != 0);
    }
  }
  return 0;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (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: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) right: (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 (return_statement (true)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (false)))))

bool MASKED(long param_1,int param_2)

{
  int iVar1;
  
  iVar1 = FUN_00127110(param_1,&DAT_0013da2a);
  if (iVar1 != 0) {
    param_1 = param_1 + 0x10;
    iVar1 = FUN_00126fe0(param_1,&DAT_001458e0);
    if ((iVar1 != 0) && (iVar1 = FUN_00127080(param_1,&DAT_001458e7), iVar1 != 0)) {
      if (param_2 == 0) {
        return true;
      }
      iVar1 = FUN_00127080(param_1,"/* bitstring */");
      return iVar1 != 0;
    }
  }
  return false;
}

