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

bool gold::Symbol::is_common_shndx(uint shndx)

{
  long lVar1;
  
  if (shndx != 0xfff2) {
    if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x69,"target");
    }
    lVar1 = *(long *)(parameters->target_ + 8);
    if (*(ushort *)(lVar1 + 0x48) != shndx) {
      return *(ushort *)(lVar1 + 0x4a) == shndx;
    }
  }
  return true;
}



undefined2 FUN_0021e870(uint param_1)

{
  ushort uVar1;
  long lVar2;
  
  if (param_1 != 0xfff2) {
    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");
    }
    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);
    if (*(ushort *)(lVar2 + 0x48) != param_1) {
      uVar1 = *(ushort *)(lVar2 + 0x4a);
      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);
    }
  }
  return 1;
}


CMP EDI,0xfff2
JZ 0x0021e8a8
MOV RAX,qword ptr [0x003be6b0]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x0021e8ae
MOV RDX,qword ptr [RAX + 0x8]
MOV EAX,0x1
MOVZX ECX,word ptr [RDX + 0x48]
CMP ECX,EDI
JZ 0x0021e8ad
MOVZX EAX,word ptr [RDX + 0x4a]
CMP EAX,EDI
SETZ AL
RET
MOV EAX,0x1
RET
PUSH RAX
LEA RDX,[0x31f92b]
MOV ESI,0x69
LEA RDI,[0x30dc70]
CALL 0x0016cdf0
(translation_unit "undefined2 FUN_0021e870(uint param_1)\n\n{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}\n\n" (function_definition "undefined2 FUN_0021e870(uint param_1)\n\n{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0021e870(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }" if (parenthesized_expression "(param_1 != 0xfff2)" ( (binary_expression "param_1 != 0xfff2" identifier != number_literal) )) (compound_statement "{\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }" { (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }" { comment (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }" if (parenthesized_expression "(*(ushort *)(lVar2 + 0x48) != param_1)" ( (binary_expression "*(ushort *)(lVar2 + 0x48) != param_1" (pointer_expression "*(ushort *)(lVar2 + 0x48)" * (cast_expression "(ushort *)(lVar2 + 0x48)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x48)" ( (binary_expression "lVar2 + 0x48" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }" { (expression_statement "uVar1 = *(ushort *)(lVar2 + 0x4a);" (assignment_expression "uVar1 = *(ushort *)(lVar2 + 0x4a)" identifier = (pointer_expression "*(ushort *)(lVar2 + 0x4a)" * (cast_expression "(ushort *)(lVar2 + 0x4a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x4a)" ( (binary_expression "lVar2 + 0x4a" identifier + number_literal) ))))) ;) (return_statement "return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);" return (call_expression "CONCAT11((char)(uVar1 >> 8),uVar1 == param_1)" identifier (argument_list "((char)(uVar1 >> 8),uVar1 == param_1)" ( (cast_expression "(char)(uVar1 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar1 >> 8)" ( (binary_expression "uVar1 >> 8" identifier >> number_literal) ))) , (binary_expression "uVar1 == param_1" identifier == identifier) ))) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n\nbool gold::Symbol::is_common_shndx(uint shndx)\n\n{\n  long lVar1;\n  \n  if (shndx != 0xfff2) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    lVar1 = *(long *)(parameters->target_ + 8);\n    if (*(ushort *)(lVar1 + 0x48) != shndx) {\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }\n  }\n  return true;\n}\n\n" comment (function_definition "bool gold::Symbol::is_common_shndx(uint shndx)\n\n{\n  long lVar1;\n  \n  if (shndx != 0xfff2) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    lVar1 = *(long *)(parameters->target_ + 8);\n    if (*(ushort *)(lVar1 + 0x48) != shndx) {\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }\n  }\n  return true;\n}" primitive_type (ERROR "gold::Symbol::" identifier : : identifier : :) (function_declarator "is_common_shndx(uint shndx)" identifier (parameter_list "(uint shndx)" ( (parameter_declaration "uint shndx" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (shndx != 0xfff2) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    lVar1 = *(long *)(parameters->target_ + 8);\n    if (*(ushort *)(lVar1 + 0x48) != shndx) {\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }\n  }\n  return true;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (shndx != 0xfff2) {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    lVar1 = *(long *)(parameters->target_ + 8);\n    if (*(ushort *)(lVar1 + 0x48) != shndx) {\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }\n  }" if (parenthesized_expression "(shndx != 0xfff2)" ( (binary_expression "shndx != 0xfff2" identifier != number_literal) )) (compound_statement "{\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    lVar1 = *(long *)(parameters->target_ + 8);\n    if (*(ushort *)(lVar1 + 0x48) != shndx) {\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }\n  }" { (if_statement "if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(parameters->target_ == (Target *)0x0)" ( (binary_expression "parameters->target_ == (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "lVar1 = *(long *)(parameters->target_ + 8);" (assignment_expression "lVar1 = *(long *)(parameters->target_ + 8)" identifier = (pointer_expression "*(long *)(parameters->target_ + 8)" * (cast_expression "(long *)(parameters->target_ + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(parameters->target_ + 8)" ( (binary_expression "parameters->target_ + 8" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) ))))) ;) (if_statement "if (*(ushort *)(lVar1 + 0x48) != shndx) {\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }" if (parenthesized_expression "(*(ushort *)(lVar1 + 0x48) != shndx)" ( (binary_expression "*(ushort *)(lVar1 + 0x48) != shndx" (pointer_expression "*(ushort *)(lVar1 + 0x48)" * (cast_expression "(ushort *)(lVar1 + 0x48)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x48)" ( (binary_expression "lVar1 + 0x48" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      return *(ushort *)(lVar1 + 0x4a) == shndx;\n    }" { (return_statement "return *(ushort *)(lVar1 + 0x4a) == shndx;" return (binary_expression "*(ushort *)(lVar1 + 0x4a) == shndx" (pointer_expression "*(ushort *)(lVar1 + 0x4a)" * (cast_expression "(ushort *)(lVar1 + 0x4a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x4a)" ( (binary_expression "lVar1 + 0x4a" identifier + number_literal) )))) == identifier) ;) })) })) (return_statement "return true;" return true ;) })))
(translation_unit "undefined2 FUN_0021e870(uint param_1)\n\n{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}\n\n" (function_definition "undefined2 FUN_0021e870(uint param_1)\n\n{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0021e870(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }" if (parenthesized_expression "(param_1 != 0xfff2)" ( (binary_expression "param_1 != 0xfff2" identifier != number_literal) )) (compound_statement "{\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }" { (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }" { (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }" if (parenthesized_expression "(*(ushort *)(lVar2 + 0x48) != param_1)" ( (binary_expression "*(ushort *)(lVar2 + 0x48) != param_1" (pointer_expression "*(ushort *)(lVar2 + 0x48)" * (cast_expression "(ushort *)(lVar2 + 0x48)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x48)" ( (binary_expression "lVar2 + 0x48" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }" { (expression_statement "uVar1 = *(ushort *)(lVar2 + 0x4a);" (assignment_expression "uVar1 = *(ushort *)(lVar2 + 0x4a)" identifier = (pointer_expression "*(ushort *)(lVar2 + 0x4a)" * (cast_expression "(ushort *)(lVar2 + 0x4a)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x4a)" ( (binary_expression "lVar2 + 0x4a" identifier + number_literal) ))))) ;) (return_statement "return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);" return (call_expression "CONCAT11((char)(uVar1 >> 8),uVar1 == param_1)" identifier (argument_list "((char)(uVar1 >> 8),uVar1 == param_1)" ( (cast_expression "(char)(uVar1 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar1 >> 8)" ( (binary_expression "uVar1 >> 8" identifier >> number_literal) ))) , (binary_expression "uVar1 == param_1" identifier == identifier) ))) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(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 ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) ))) , (binary_expression IDENT == IDENT) ))) ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined2 FUN_0021e870(uint param_1)\n\n{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}" (type_identifier "undefined2") (function_declarator "FUN_0021e870(uint param_1)" (identifier "FUN_0021e870") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  ushort uVar1;\n  long lVar2;\n  \n  if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (if_statement "if (param_1 != 0xfff2) {\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != 0xfff2)" (( "(") (binary_expression "param_1 != 0xfff2" (identifier "param_1") (!= "!=") (number_literal "0xfff2")) () ")")) (compound_statement "{\n    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }\n    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n    if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }\n  }" ({ "{") (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x18" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n    }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/parameters.h",0x69,"target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (* "*") (cast_expression "(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x18" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(ushort *)(lVar2 + 0x48) != param_1) {\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }" (if "if") (parenthesized_expression "(*(ushort *)(lVar2 + 0x48) != param_1)" (( "(") (binary_expression "*(ushort *)(lVar2 + 0x48) != param_1" (pointer_expression "*(ushort *)(lVar2 + 0x48)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x48)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x48)" (( "(") (binary_expression "lVar2 + 0x48" (identifier "lVar2") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n      uVar1 = *(ushort *)(lVar2 + 0x4a);\n      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);\n    }" ({ "{") (expression_statement "uVar1 = *(ushort *)(lVar2 + 0x4a);" (assignment_expression "uVar1 = *(ushort *)(lVar2 + 0x4a)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(lVar2 + 0x4a)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x4a)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x4a)" (( "(") (binary_expression "lVar2 + 0x4a" (identifier "lVar2") (+ "+") (number_literal "0x4a")) () ")"))))) (; ";")) (return_statement "return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);" (return "return") (call_expression "CONCAT11((char)(uVar1 >> 8),uVar1 == param_1)" (identifier "CONCAT11") (argument_list "((char)(uVar1 >> 8),uVar1 == param_1)" (( "(") (cast_expression "(char)(uVar1 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar1 >> 8)" (( "(") (binary_expression "uVar1 >> 8" (identifier "uVar1") (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "uVar1 == param_1" (identifier "uVar1") (== "==") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

bool gold::Symbol::function_1(type_1 var_1)

{
  long var_3;
  
  if (var_1 != 0xfff2) {
    if (parameters->target_ == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/parameters.h",0x69,"target");
    }
    var_3 = *(long *)(parameters->target_ + 8);
    if (*(type_3 *)(var_3 + 0x48) != var_1) {
      return *(type_3 *)(var_3 + 0x4a) == var_1;
    }
  }
  return true;
}


(translation_unit (function_definition type: (type_identifier) 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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (binary_expression left: (identifier) right: (identifier))))))))) (return_statement (number_literal)))))

undefined2 MASKED(uint param_1)

{
  ushort uVar1;
  long lVar2;
  
  if (param_1 != 0xfff2) {
    if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0016cdf0("../../gold/parameters.h",0x69,"target");
    }
    lVar2 = *(long *)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);
    if (*(ushort *)(lVar2 + 0x48) != param_1) {
      uVar1 = *(ushort *)(lVar2 + 0x4a);
      return CONCAT11((char)(uVar1 >> 8),uVar1 == param_1);
    }
  }
  return 1;
}

