
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

bool gold::can_incremental_update(uint sh_type)

{
  if ((sh_type < 0x11) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0)) {
    return true;
  }
  if (parameters->target_ != (Target *)0x0) {
    return *(uint *)(*(int *)(parameters->target_ + 4) + 0x60) == sh_type;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x69,"target");
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 FUN_000712b0(uint param_1)

{
  int iVar1;
  
  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {
    return 1;
  }
  if (*(int *)(DAT_0038f378 + 0xc) != 0) {
    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);
    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);
}


CALL 0x000650b8
ADD ECX,0x31dd4b
PUSH EBX
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
CMP EDX,0x10
JA 0x000712e0
MOV EBX,0x1c182
MOV EAX,0x1
BT EBX,EDX
JNC 0x000712e0
ADD ESP,0x8
POP EBX
RET
LEA EAX,[ECX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x000712fd
MOV EAX,dword ptr [EAX + 0x4]
CMP dword ptr [EAX + 0x60],EDX
SETZ AL
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[ECX + 0xffefaae0]
MOV EBX,ECX
PUSH EAX
LEA EAX,[ECX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined4 FUN_000712b0(uint param_1)\n\n{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}\n\n" comment (function_definition "undefined4 FUN_000712b0(uint param_1)\n\n{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}" type_identifier (function_declarator "FUN_000712b0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0))" ( (binary_expression "(param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)" (parenthesized_expression "(param_1 < 0x11)" ( (binary_expression "param_1 < 0x11" identifier < number_literal) )) && (parenthesized_expression "((0x1c182U >> (param_1 & 0x1f) & 1) != 0)" ( (binary_expression "(0x1c182U >> (param_1 & 0x1f) & 1) != 0" (parenthesized_expression "(0x1c182U >> (param_1 & 0x1f) & 1)" ( (binary_expression "0x1c182U >> (param_1 & 0x1f) & 1" (binary_expression "0x1c182U >> (param_1 & 0x1f)" number_literal >> (parenthesized_expression "(param_1 & 0x1f)" ( (binary_expression "param_1 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }" { (expression_statement "iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);" return (call_expression "CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1)" identifier (argument_list "((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1)" ( (call_expression "(int3)((uint)iVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)iVar1 >> 8)" ( (binary_expression "(uint)iVar1 >> 8" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "*(uint *)(iVar1 + 0x60) == param_1" (pointer_expression "*(uint *)(iVar1 + 0x60)" * (cast_expression "(uint *)(iVar1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x60)" ( (binary_expression "iVar1 + 0x60" identifier + number_literal) )))) == identifier) ))) ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",0)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Unknown calling convention */\n/* 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) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0)) {\n    return true;\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(int *)(parameters->target_ + 4) + 0x60) == sh_type;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}\n\n" comment comment comment (function_definition "bool gold::can_incremental_update(uint sh_type)\n\n{\n  if ((sh_type < 0x11) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0)) {\n    return true;\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(int *)(parameters->target_ + 4) + 0x60) == 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) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0)) {\n    return true;\n  }\n  if (parameters->target_ != (Target *)0x0) {\n    return *(uint *)(*(int *)(parameters->target_ + 4) + 0x60) == 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) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0)) {\n    return true;\n  }" if (parenthesized_expression "((sh_type < 0x11) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0))" ( (binary_expression "(sh_type < 0x11) && ((0x1c182U >> (sh_type & 0x1f) & 1) != 0)" (parenthesized_expression "(sh_type < 0x11)" ( (binary_expression "sh_type < 0x11" identifier < number_literal) )) && (parenthesized_expression "((0x1c182U >> (sh_type & 0x1f) & 1) != 0)" ( (binary_expression "(0x1c182U >> (sh_type & 0x1f) & 1) != 0" (parenthesized_expression "(0x1c182U >> (sh_type & 0x1f) & 1)" ( (binary_expression "0x1c182U >> (sh_type & 0x1f) & 1" (binary_expression "0x1c182U >> (sh_type & 0x1f)" number_literal >> (parenthesized_expression "(sh_type & 0x1f)" ( (binary_expression "sh_type & 0x1f" 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 *)(*(int *)(parameters->target_ + 4) + 0x60) == 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 *)(*(int *)(parameters->target_ + 4) + 0x60) == sh_type;\n  }" { (return_statement "return *(uint *)(*(int *)(parameters->target_ + 4) + 0x60) == sh_type;" return (binary_expression "*(uint *)(*(int *)(parameters->target_ + 4) + 0x60) == sh_type" (pointer_expression "*(uint *)(*(int *)(parameters->target_ + 4) + 0x60)" * (cast_expression "(uint *)(*(int *)(parameters->target_ + 4) + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(parameters->target_ + 4) + 0x60)" ( (binary_expression "*(int *)(parameters->target_ + 4) + 0x60" (pointer_expression "*(int *)(parameters->target_ + 4)" * (cast_expression "(int *)(parameters->target_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (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 "undefined4 FUN_000712b0(uint param_1)\n\n{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}\n\n" (function_definition "undefined4 FUN_000712b0(uint param_1)\n\n{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}" type_identifier (function_declarator "FUN_000712b0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0))" ( (binary_expression "(param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)" (parenthesized_expression "(param_1 < 0x11)" ( (binary_expression "param_1 < 0x11" identifier < number_literal) )) && (parenthesized_expression "((0x1c182U >> (param_1 & 0x1f) & 1) != 0)" ( (binary_expression "(0x1c182U >> (param_1 & 0x1f) & 1) != 0" (parenthesized_expression "(0x1c182U >> (param_1 & 0x1f) & 1)" ( (binary_expression "0x1c182U >> (param_1 & 0x1f) & 1" (binary_expression "0x1c182U >> (param_1 & 0x1f)" number_literal >> (parenthesized_expression "(param_1 & 0x1f)" ( (binary_expression "param_1 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }" { (expression_statement "iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (return_statement "return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);" return (call_expression "CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1)" identifier (argument_list "((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1)" ( (call_expression "(int3)((uint)iVar1 >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)iVar1 >> 8)" ( (binary_expression "(uint)iVar1 >> 8" (cast_expression "(uint)iVar1" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) ))) , (binary_expression "*(uint *)(iVar1 + 0x60) == param_1" (pointer_expression "*(uint *)(iVar1 + 0x60)" * (cast_expression "(uint *)(iVar1 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x60)" ( (binary_expression "iVar1 + 0x60" identifier + number_literal) )))) == identifier) ))) ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",0)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression 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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) ))))) ;) (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) )))) == IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "undefined4 FUN_000712b0(uint param_1)\n\n{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}" (type_identifier "undefined4") (function_declarator "FUN_000712b0(uint param_1)" (identifier "FUN_000712b0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }\n  if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }\n                    \n  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0))" (( "(") (binary_expression "(param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)" (parenthesized_expression "(param_1 < 0x11)" (( "(") (binary_expression "param_1 < 0x11" (identifier "param_1") (< "<") (number_literal "0x11")) () ")")) (&& "&&") (parenthesized_expression "((0x1c182U >> (param_1 & 0x1f) & 1) != 0)" (( "(") (binary_expression "(0x1c182U >> (param_1 & 0x1f) & 1) != 0" (parenthesized_expression "(0x1c182U >> (param_1 & 0x1f) & 1)" (( "(") (binary_expression "0x1c182U >> (param_1 & 0x1f) & 1" (binary_expression "0x1c182U >> (param_1 & 0x1f)" (number_literal "0x1c182U") (>> ">>") (parenthesized_expression "(param_1 & 0x1f)" (( "(") (binary_expression "param_1 & 0x1f" (identifier "param_1") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (*(int *)(DAT_0038f378 + 0xc) != 0) {\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(int *)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (return_statement "return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);" (return "return") (call_expression "CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1)" (identifier "CONCAT31") (argument_list "((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1)" (( "(") (call_expression "(int3)((uint)iVar1 >> 8)" (parenthesized_expression "(int3)" (( "(") (identifier "int3") () ")")) (argument_list "((uint)iVar1 >> 8)" (( "(") (binary_expression "(uint)iVar1 >> 8" (cast_expression "(uint)iVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "iVar1")) (>> ">>") (number_literal "8")) () ")"))) (, ",") (binary_expression "*(uint *)(iVar1 + 0x60) == param_1" (pointer_expression "*(uint *)(iVar1 + 0x60)" (* "*") (cast_expression "(uint *)(iVar1 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x60)" (( "(") (binary_expression "iVar1 + 0x60" (identifier "iVar1") (+ "+") (number_literal "0x60")) () ")")))) (== "==") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

bool gold::function_1(type_1 var_1)

{
  if ((var_1 < 0x11) && ((0x1c182U >> (var_1 & 0x1f) & 1) != 0)) {
    return true;
  }
  if (parameters->target_ != (type_2 *)0x0) {
    return *(type_1 *)(*(int *)(parameters->target_ + 4) + 0x60) == 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: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (primitive_type) 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: (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))))))) (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: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (number_literal)))))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 MASKED(uint param_1)

{
  int iVar1;
  
  if ((param_1 < 0x11) && ((0x1c182U >> (param_1 & 0x1f) & 1) != 0)) {
    return 1;
  }
  if (*(int *)(DAT_0038f378 + 0xc) != 0) {
    iVar1 = *(int *)(*(int *)(DAT_0038f378 + 0xc) + 4);
    return CONCAT31((int3)((uint)iVar1 >> 8),*(uint *)(iVar1 + 0x60) == param_1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.h",0x69,"target",0);
}

