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

bool gold::can_incremental_update(uint sh_type)

{
  if ((sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)) {
    return true;
  }
  if (parameters->target_ != (Target *)0x0) {
    return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x69,"target");
}



undefined8 FUN_00183010(ulong param_1)

{
  long lVar1;
  
  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {
    return 1;
  }
  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {
    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);
    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/parameters.h",0x69,"target");
}


CMP EDI,0x10
JA 0x00183030
MOV EDX,0x1c182
MOV EAX,0x1
BT RDX,RDI
JNC 0x00183030
RET
MOV RAX,qword ptr [0x0043e6b0]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x0018304b
MOV RAX,qword ptr [RAX + 0x8]
CMP dword ptr [RAX + 0x7c],EDI
SETZ AL
RET
PUSH RAX
LEA RDX,[0x375751]
MOV ESI,0x69
LEA RDI,[0x3726d0]
CALL 0x0017c650
(translation_unit "undefined8 FUN_00183010(ulong param_1)\n\n{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}\n\n" (function_definition "undefined8 FUN_00183010(ulong param_1)\n\n{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}" type_identifier (function_declarator "FUN_00183010(ulong param_1)" identifier (parameter_list "(ulong param_1)" ( (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "(((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0))" ( (binary_expression "((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)" (parenthesized_expression "((uint)param_1 < 0x11)" ( (binary_expression "(uint)param_1 < 0x11" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )) && (parenthesized_expression "((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)" ( (binary_expression "(0x1c182UL >> (param_1 & 0x3f) & 1) != 0" (parenthesized_expression "(0x1c182UL >> (param_1 & 0x3f) & 1)" ( (binary_expression "0x1c182UL >> (param_1 & 0x3f) & 1" (binary_expression "0x1c182UL >> (param_1 & 0x3f)" number_literal >> (parenthesized_expression "(param_1 & 0x3f)" ( (binary_expression "param_1 & 0x3f" identifier & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }" { (expression_statement "lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);" return (call_expression "CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1)" identifier (argument_list "((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1)" ( (call_expression "(int7)((ulong)lVar1 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "((ulong)lVar1 >> 8)" ( (binary_expression "(ulong)lVar1 >> 8" (cast_expression "(ulong)lVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "*(uint *)(lVar1 + 0x7c) == (uint)param_1" (pointer_expression "*(uint *)(lVar1 + 0x7c)" * (cast_expression "(uint *)(lVar1 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x7c)" ( (binary_expression "lVar1 + 0x7c" identifier + number_literal) )))) == (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) ;) })) comment (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../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 ") ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n\nbool gold::can_incremental_update(uint sh_type)\n\n{\n  if ((sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)) {\n    return true;\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}\n\n" comment (function_definition "bool gold::can_incremental_update(uint sh_type)\n\n{\n  if ((sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)) {\n    return true;\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" primitive_type (ERROR "gold::" identifier : :) (function_declarator "can_incremental_update(uint sh_type)" identifier (parameter_list "(uint sh_type)" ( (parameter_declaration "uint sh_type" type_identifier identifier) ))) (compound_statement "{\n  if ((sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)) {\n    return true;\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" { (if_statement "if ((sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)) {\n    return true;\n  }" if (parenthesized_expression "((sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0))" ( (binary_expression "(sh_type < 0x11) && ((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)" (parenthesized_expression "(sh_type < 0x11)" ( (binary_expression "sh_type < 0x11" identifier < number_literal) )) && (parenthesized_expression "((0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0)" ( (binary_expression "(0x1c182UL >> ((ulong)sh_type & 0x3f) & 1) != 0" (parenthesized_expression "(0x1c182UL >> ((ulong)sh_type & 0x3f) & 1)" ( (binary_expression "0x1c182UL >> ((ulong)sh_type & 0x3f) & 1" (binary_expression "0x1c182UL >> ((ulong)sh_type & 0x3f)" number_literal >> (parenthesized_expression "((ulong)sh_type & 0x3f)" ( (binary_expression "(ulong)sh_type & 0x3f" (cast_expression "(ulong)sh_type" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;\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    return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;\n  }" { (return_statement "return *(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type;" return (binary_expression "*(uint *)(*(long *)(parameters->target_ + 8) + 0x7c) == sh_type" (pointer_expression "*(uint *)(*(long *)(parameters->target_ + 8) + 0x7c)" * (cast_expression "(uint *)(*(long *)(parameters->target_ + 8) + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(parameters->target_ + 8) + 0x7c)" ( (binary_expression "*(long *)(parameters->target_ + 8) + 0x7c" (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) )))) + number_literal) )))) == identifier) ;) })) 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 ") ))) ;) })))
(translation_unit "undefined8 FUN_00183010(ulong param_1)\n\n{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    \n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}\n\n" (function_definition "undefined8 FUN_00183010(ulong param_1)\n\n{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    \n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}" type_identifier (function_declarator "FUN_00183010(ulong param_1)" identifier (parameter_list "(ulong param_1)" ( (parameter_declaration "ulong param_1" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    \n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "(((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0))" ( (binary_expression "((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)" (parenthesized_expression "((uint)param_1 < 0x11)" ( (binary_expression "(uint)param_1 < 0x11" (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) )) && (parenthesized_expression "((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)" ( (binary_expression "(0x1c182UL >> (param_1 & 0x3f) & 1) != 0" (parenthesized_expression "(0x1c182UL >> (param_1 & 0x3f) & 1)" ( (binary_expression "0x1c182UL >> (param_1 & 0x3f) & 1" (binary_expression "0x1c182UL >> (param_1 & 0x3f)" number_literal >> (parenthesized_expression "(param_1 & 0x3f)" ( (binary_expression "param_1 & 0x3f" identifier & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }" { (expression_statement "lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);" return (call_expression "CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1)" identifier (argument_list "((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1)" ( (call_expression "(int7)((ulong)lVar1 >> 8)" (parenthesized_expression "(int7)" ( identifier )) (argument_list "((ulong)lVar1 >> 8)" ( (binary_expression "(ulong)lVar1 >> 8" (cast_expression "(ulong)lVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "*(uint *)(lVar1 + 0x7c) == (uint)param_1" (pointer_expression "*(uint *)(lVar1 + 0x7c)" * (cast_expression "(uint *)(lVar1 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x7c)" ( (binary_expression "lVar1 + 0x7c" identifier + number_literal) )))) == (cast_expression "(uint)param_1" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) ;) })) (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../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 ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT) )) != LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (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 (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) ))))) ;) (return_statement return (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_00183010(ulong param_1)\n\n{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    \n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}" (type_identifier "undefined8") (function_declarator "FUN_00183010(ulong param_1)" (identifier "FUN_00183010") (parameter_list "(ulong param_1)" (( "(") (parameter_declaration "ulong param_1" (type_identifier "ulong") (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }\n                    \n  FUN_0017c650("../../gold/parameters.h",0x69,"target");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (if_statement "if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0))" (( "(") (binary_expression "((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)" (parenthesized_expression "((uint)param_1 < 0x11)" (( "(") (binary_expression "(uint)param_1 < 0x11" (cast_expression "(uint)param_1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_1")) (< "<") (number_literal "0x11")) () ")")) (&& "&&") (parenthesized_expression "((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)" (( "(") (binary_expression "(0x1c182UL >> (param_1 & 0x3f) & 1) != 0" (parenthesized_expression "(0x1c182UL >> (param_1 & 0x3f) & 1)" (( "(") (binary_expression "0x1c182UL >> (param_1 & 0x3f) & 1" (binary_expression "0x1c182UL >> (param_1 & 0x3f)" (number_literal "0x1c182UL") (>> ">>") (parenthesized_expression "(param_1 & 0x3f)" (( "(") (binary_expression "param_1 & 0x3f" (identifier "param_1") (& "&") (number_literal "0x3f")) () ")"))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x18" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);\n    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);\n  }" ({ "{") (expression_statement "lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (* "*") (cast_expression "(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x18" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (return_statement "return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);" (return "return") (call_expression "CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1)" (identifier "CONCAT71") (argument_list "((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1)" (( "(") (call_expression "(int7)((ulong)lVar1 >> 8)" (parenthesized_expression "(int7)" (( "(") (identifier "int7") () ")")) (argument_list "((ulong)lVar1 >> 8)" (( "(") (binary_expression "(ulong)lVar1 >> 8" (cast_expression "(ulong)lVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "lVar1")) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "*(uint *)(lVar1 + 0x7c) == (uint)param_1" (pointer_expression "*(uint *)(lVar1 + 0x7c)" (* "*") (cast_expression "(uint *)(lVar1 + 0x7c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x7c)" (( "(") (binary_expression "lVar1 + 0x7c" (identifier "lVar1") (+ "+") (number_literal "0x7c")) () ")")))) (== "==") (cast_expression "(uint)param_1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0017c650("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0017c650") (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") (" """)) () ")"))) (; ";")) (} "}")))

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

bool gold::function_1(type_1 var_1)

{
  if ((var_1 < 0x11) && ((0x1c182UL >> ((type_2)var_1 & 0x3f) & 1) != 0)) {
    return true;
  }
  if (parameters->target_ != (type_3 *)0x0) {
    return *(type_1 *)(*(long *)(parameters->target_ + 8) + 0x7c) == var_1;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/parameters.h",0x69,"target");
}


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

undefined8 MASKED(ulong param_1)

{
  long lVar1;
  
  if (((uint)param_1 < 0x11) && ((0x1c182UL >> (param_1 & 0x3f) & 1) != 0)) {
    return 1;
  }
  if (*(long *)(PTR_DAT_0043e6b0 + 0x18) != 0) {
    lVar1 = *(long *)(*(long *)(PTR_DAT_0043e6b0 + 0x18) + 8);
    return CONCAT71((int7)((ulong)lVar1 >> 8),*(uint *)(lVar1 + 0x7c) == (uint)param_1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/parameters.h",0x69,"target");
}

