
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

bfd_boolean __regparm3 sh_local_pcrel(fixS *fix)

{
  int iVar1;
  
  if (sh_relax == 0) {
    iVar1 = *(int *)fix;
    return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

bool __regparm3 FUN_00043d10(int *param_1)

{
  int iVar1;
  
  if (DAT_0007d0a4 == 0) {
    iVar1 = *param_1;
    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;
  }
  return false;
}


CALL 0x00016165
ADD EDX,0x302eb
LEA EDX,[EDX + 0x90a4]
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JNZ 0x00043d50
MOV EDX,dword ptr [EAX]
LEA EAX,[EDX + 0xfffffd61]
LEA ECX,[EDX + 0xfffffd51]
CMP EAX,0x1
SETBE AL
CMP ECX,0x3
SETBE CL
OR EAX,ECX
CMP EDX,0xd
SETZ DL
OR EAX,EDX
MOVZX EAX,AL
RET
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nbool __regparm3 FUN_00043d10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}\n\n" comment (function_definition "bool __regparm3 FUN_00043d10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043d10(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }" if (parenthesized_expression "(DAT_0007d0a4 == 0)" ( (binary_expression "DAT_0007d0a4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }" { (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (return_statement "return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;" return (binary_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd" (parenthesized_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4)" ( (binary_expression "iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x29fU < 2" (binary_expression "iVar1 - 0x29fU" identifier - number_literal) < number_literal) || (binary_expression "iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x2afU" identifier - number_literal) < number_literal)) )) || (binary_expression "iVar1 == 0xd" identifier == number_literal)) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nbfd_boolean __regparm3 sh_local_pcrel(fixS *fix)\n\n{\n  int iVar1;\n  \n  if (sh_relax == 0) {\n    iVar1 = *(int *)fix;\n    return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);\n  }\n  return 0;\n}\n\n" comment (function_definition "bfd_boolean __regparm3 sh_local_pcrel(fixS *fix)\n\n{\n  int iVar1;\n  \n  if (sh_relax == 0) {\n    iVar1 = *(int *)fix;\n    return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "sh_local_pcrel(fixS *fix)" identifier (parameter_list "(fixS *fix)" ( (parameter_declaration "fixS *fix" type_identifier (pointer_declarator "*fix" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (sh_relax == 0) {\n    iVar1 = *(int *)fix;\n    return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (sh_relax == 0) {\n    iVar1 = *(int *)fix;\n    return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);\n  }" if (parenthesized_expression "(sh_relax == 0)" ( (binary_expression "sh_relax == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *(int *)fix;\n    return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);\n  }" { (expression_statement "iVar1 = *(int *)fix;" (assignment_expression "iVar1 = *(int *)fix" identifier = (pointer_expression "*(int *)fix" * (cast_expression "(int *)fix" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (return_statement "return (uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd);" return (call_expression "(uint)((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd)" ( (binary_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd" (parenthesized_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4)" ( (binary_expression "iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x29fU < 2" (binary_expression "iVar1 - 0x29fU" identifier - number_literal) < number_literal) || (binary_expression "iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x2afU" identifier - number_literal) < number_literal)) )) || (binary_expression "iVar1 == 0xd" identifier == number_literal)) ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bool __regparm3 FUN_00043d10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}\n\n" (function_definition "bool __regparm3 FUN_00043d10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043d10(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }" if (parenthesized_expression "(DAT_0007d0a4 == 0)" ( (binary_expression "DAT_0007d0a4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }" { (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (return_statement "return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;" return (binary_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd" (parenthesized_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4)" ( (binary_expression "iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x29fU < 2" (binary_expression "iVar1 - 0x29fU" identifier - number_literal) < number_literal) || (binary_expression "iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x2afU" identifier - number_literal) < number_literal)) )) || (binary_expression "iVar1 == 0xd" identifier == number_literal)) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT - LIT) < LIT) || (binary_expression (binary_expression IDENT - LIT) < LIT)) )) || (binary_expression IDENT == LIT)) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool __regparm3 FUN_00043d10(int *param_1)\n\n{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}" (primitive_type "bool") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00043d10(int *param_1)" (identifier "FUN_00043d10") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }\n  return false;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (DAT_0007d0a4 == 0) {\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }" (if "if") (parenthesized_expression "(DAT_0007d0a4 == 0)" (( "(") (binary_expression "DAT_0007d0a4 == 0" (identifier "DAT_0007d0a4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *param_1;\n    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;\n  }" ({ "{") (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (return_statement "return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;" (return "return") (binary_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd" (parenthesized_expression "(iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4)" (( "(") (binary_expression "iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x29fU < 2" (binary_expression "iVar1 - 0x29fU" (identifier "iVar1") (- "-") (number_literal "0x29fU")) (< "<") (number_literal "2")) (|| "||") (binary_expression "iVar1 - 0x2afU < 4" (binary_expression "iVar1 - 0x2afU" (identifier "iVar1") (- "-") (number_literal "0x2afU")) (< "<") (number_literal "4"))) () ")")) (|| "||") (binary_expression "iVar1 == 0xd" (identifier "iVar1") (== "==") (number_literal "0xd"))) (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

type_1 __regparm3 function_1(type_2 *fix)

{
  int var_2;
  
  if (var_1 == 0) {
    var_2 = *(int *)fix;
    return (uint)((var_2 - 0x29fU < 2 || var_2 - 0x2afU < 4) || var_2 == 0xd);
  }
  return 0;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (false)))))

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

bool __regparm3 MASKED(int *param_1)

{
  int iVar1;
  
  if (DAT_0007d0a4 == 0) {
    iVar1 = *param_1;
    return (iVar1 - 0x29fU < 2 || iVar1 - 0x2afU < 4) || iVar1 == 0xd;
  }
  return false;
}

