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

int symbol_same_p(symbolS *s1,symbolS *s2)

{
  if ((((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section)) {
    s1 = (s1->sy_value).X_op_symbol;
  }
  if ((((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section)) {
    return (uint)(s1 == (s2->sy_value).X_op_symbol);
  }
  return (uint)(s1 == s2);
}



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

bool FUN_0003b6f0(byte *param_1,byte *param_2)

{
  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {
    param_1 = *(byte **)(param_1 + 0xc);
  }
  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {
    return param_1 == *(byte **)(param_2 + 0xc);
  }
  return param_1 == param_2;
}


CALL 0x00019a25
ADD ECX,0x4490b
PUSH EBX
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0xc]
TEST byte ptr [EDX],0x1
JZ 0x0003b716
LEA EBX,[ECX + 0x97ec]
MOV EBX,dword ptr [EBX]
CMP dword ptr [EDX + 0x4],EBX
JZ 0x0003b748
TEST byte ptr [EAX],0x1
JZ 0x0003b728
LEA ECX,[ECX + 0x97ec]
MOV EBX,dword ptr [ECX]
CMP dword ptr [EAX + 0x4],EBX
JZ 0x0003b738
CMP EDX,EAX
POP EBX
SETZ AL
MOVZX EAX,AL
RET
MOV EAX,dword ptr [EAX + 0xc]
POP EBX
CMP EDX,EAX
SETZ AL
MOVZX EAX,AL
RET
MOV EDX,dword ptr [EDX + 0xc]
JMP 0x0003b716
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nbool FUN_0003b6f0(byte *param_1,byte *param_2)\n\n{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}\n\n" comment (function_definition "bool FUN_0003b6f0(byte *param_1,byte *param_2)\n\n{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}" primitive_type (function_declarator "FUN_0003b6f0(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}" { (if_statement "if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" if (parenthesized_expression "(((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec))" ( (binary_expression "((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)" (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 4) == DAT_000897ec)" ( (binary_expression "*(int *)(param_1 + 4) == DAT_000897ec" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" { (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }" if (parenthesized_expression "(((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec))" ( (binary_expression "((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)" (parenthesized_expression "((*param_2 & 1) != 0)" ( (binary_expression "(*param_2 & 1) != 0" (parenthesized_expression "(*param_2 & 1)" ( (binary_expression "*param_2 & 1" (pointer_expression "*param_2" * identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 4) == DAT_000897ec)" ( (binary_expression "*(int *)(param_2 + 4) == DAT_000897ec" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }" { (return_statement "return param_1 == *(byte **)(param_2 + 0xc);" return (binary_expression "param_1 == *(byte **)(param_2 + 0xc)" identifier == (pointer_expression "*(byte **)(param_2 + 0xc)" * (cast_expression "(byte **)(param_2 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) })) (return_statement "return param_1 == param_2;" return (binary_expression "param_1 == param_2" identifier == identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint symbol_same_p(symbolS *s1,symbolS *s2)\n\n{\n  if ((((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section)) {\n    s1 = (s1->sy_value).X_op_symbol;\n  }\n  if ((((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section)) {\n    return (uint)(s1 == (s2->sy_value).X_op_symbol);\n  }\n  return (uint)(s1 == s2);\n}\n\n" comment (function_definition "int symbol_same_p(symbolS *s1,symbolS *s2)\n\n{\n  if ((((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section)) {\n    s1 = (s1->sy_value).X_op_symbol;\n  }\n  if ((((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section)) {\n    return (uint)(s1 == (s2->sy_value).X_op_symbol);\n  }\n  return (uint)(s1 == s2);\n}" primitive_type (function_declarator "symbol_same_p(symbolS *s1,symbolS *s2)" identifier (parameter_list "(symbolS *s1,symbolS *s2)" ( (parameter_declaration "symbolS *s1" type_identifier (pointer_declarator "*s1" * identifier)) , (parameter_declaration "symbolS *s2" type_identifier (pointer_declarator "*s2" * identifier)) ))) (compound_statement "{\n  if ((((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section)) {\n    s1 = (s1->sy_value).X_op_symbol;\n  }\n  if ((((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section)) {\n    return (uint)(s1 == (s2->sy_value).X_op_symbol);\n  }\n  return (uint)(s1 == s2);\n}" { (if_statement "if ((((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section)) {\n    s1 = (s1->sy_value).X_op_symbol;\n  }" if (parenthesized_expression "((((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section))" ( (binary_expression "(((uint)s1->sy_flags & 1) != 0) && ((segT)s1->bsym == reg_section)" (parenthesized_expression "(((uint)s1->sy_flags & 1) != 0)" ( (binary_expression "((uint)s1->sy_flags & 1) != 0" (parenthesized_expression "((uint)s1->sy_flags & 1)" ( (binary_expression "(uint)s1->sy_flags & 1" (cast_expression "(uint)s1->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s1->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) && (parenthesized_expression "((segT)s1->bsym == reg_section)" ( (binary_expression "(segT)s1->bsym == reg_section" (cast_expression "(segT)s1->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s1->bsym" identifier -> field_identifier)) == identifier) ))) )) (compound_statement "{\n    s1 = (s1->sy_value).X_op_symbol;\n  }" { (expression_statement "s1 = (s1->sy_value).X_op_symbol;" (assignment_expression "s1 = (s1->sy_value).X_op_symbol" identifier = (field_expression "(s1->sy_value).X_op_symbol" (parenthesized_expression "(s1->sy_value)" ( (field_expression "s1->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) })) (if_statement "if ((((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section)) {\n    return (uint)(s1 == (s2->sy_value).X_op_symbol);\n  }" if (parenthesized_expression "((((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section))" ( (binary_expression "(((uint)s2->sy_flags & 1) != 0) && ((segT)s2->bsym == reg_section)" (parenthesized_expression "(((uint)s2->sy_flags & 1) != 0)" ( (binary_expression "((uint)s2->sy_flags & 1) != 0" (parenthesized_expression "((uint)s2->sy_flags & 1)" ( (binary_expression "(uint)s2->sy_flags & 1" (cast_expression "(uint)s2->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s2->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) && (parenthesized_expression "((segT)s2->bsym == reg_section)" ( (binary_expression "(segT)s2->bsym == reg_section" (cast_expression "(segT)s2->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s2->bsym" identifier -> field_identifier)) == identifier) ))) )) (compound_statement "{\n    return (uint)(s1 == (s2->sy_value).X_op_symbol);\n  }" { (return_statement "return (uint)(s1 == (s2->sy_value).X_op_symbol);" return (call_expression "(uint)(s1 == (s2->sy_value).X_op_symbol)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(s1 == (s2->sy_value).X_op_symbol)" ( (binary_expression "s1 == (s2->sy_value).X_op_symbol" identifier == (field_expression "(s2->sy_value).X_op_symbol" (parenthesized_expression "(s2->sy_value)" ( (field_expression "s2->sy_value" identifier -> field_identifier) )) . field_identifier)) ))) ;) })) (return_statement "return (uint)(s1 == s2);" return (call_expression "(uint)(s1 == s2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(s1 == s2)" ( (binary_expression "s1 == s2" identifier == identifier) ))) ;) })))
(translation_unit "bool FUN_0003b6f0(byte *param_1,byte *param_2)\n\n{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}\n\n" (function_definition "bool FUN_0003b6f0(byte *param_1,byte *param_2)\n\n{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}" primitive_type (function_declarator "FUN_0003b6f0(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}" { (if_statement "if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" if (parenthesized_expression "(((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec))" ( (binary_expression "((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)" (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 4) == DAT_000897ec)" ( (binary_expression "*(int *)(param_1 + 4) == DAT_000897ec" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" { (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }" if (parenthesized_expression "(((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec))" ( (binary_expression "((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)" (parenthesized_expression "((*param_2 & 1) != 0)" ( (binary_expression "(*param_2 & 1) != 0" (parenthesized_expression "(*param_2 & 1)" ( (binary_expression "*param_2 & 1" (pointer_expression "*param_2" * identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 4) == DAT_000897ec)" ( (binary_expression "*(int *)(param_2 + 4) == DAT_000897ec" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == identifier) ))) )) (compound_statement "{\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }" { (return_statement "return param_1 == *(byte **)(param_2 + 0xc);" return (binary_expression "param_1 == *(byte **)(param_2 + 0xc)" identifier == (pointer_expression "*(byte **)(param_2 + 0xc)" * (cast_expression "(byte **)(param_2 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) })) (return_statement "return param_1 == param_2;" return (binary_expression "param_1 == param_2" identifier == identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) && (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) ))) )) (compound_statement { (return_statement return (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return (binary_expression IDENT == IDENT) ;) })))
(function_definition "bool FUN_0003b6f0(byte *param_1,byte *param_2)\n\n{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}" (primitive_type "bool") (function_declarator "FUN_0003b6f0(byte *param_1,byte *param_2)" (identifier "FUN_0003b6f0") (parameter_list "(byte *param_1,byte *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }\n  return param_1 == param_2;\n}" ({ "{") (if_statement "if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" (if "if") (parenthesized_expression "(((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec))" (( "(") (binary_expression "((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)" (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 4) == DAT_000897ec)" (( "(") (binary_expression "*(int *)(param_1 + 4) == DAT_000897ec" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "DAT_000897ec")) () ")"))) () ")")) (compound_statement "{\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" ({ "{") (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0xc)" (* "*") (cast_expression "(byte **)(param_1 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }" (if "if") (parenthesized_expression "(((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec))" (( "(") (binary_expression "((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)" (parenthesized_expression "((*param_2 & 1) != 0)" (( "(") (binary_expression "(*param_2 & 1) != 0" (parenthesized_expression "(*param_2 & 1)" (( "(") (binary_expression "*param_2 & 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2 + 4) == DAT_000897ec)" (( "(") (binary_expression "*(int *)(param_2 + 4) == DAT_000897ec" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "DAT_000897ec")) () ")"))) () ")")) (compound_statement "{\n    return param_1 == *(byte **)(param_2 + 0xc);\n  }" ({ "{") (return_statement "return param_1 == *(byte **)(param_2 + 0xc);" (return "return") (binary_expression "param_1 == *(byte **)(param_2 + 0xc)" (identifier "param_1") (== "==") (pointer_expression "*(byte **)(param_2 + 0xc)" (* "*") (cast_expression "(byte **)(param_2 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (return_statement "return param_1 == param_2;" (return "return") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")) (; ";")) (} "}")))

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

int function_1(type_1 *var_2,type_1 *var_3)

{
  if ((((type_2)var_2->sy_flags & 1) != 0) && ((type_3)var_2->bsym == var_1)) {
    var_2 = (var_2->sy_value).X_op_symbol;
  }
  if ((((type_2)var_3->sy_flags & 1) != 0) && ((type_3)var_3->bsym == var_1)) {
    return (type_2)(var_2 == (var_3->sy_value).X_op_symbol);
  }
  return (type_2)(var_2 == var_3);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) right: (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: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) right: (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: (identifier))))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (binary_expression left: (identifier) right: (identifier))))))

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

bool MASKED(byte *param_1,byte *param_2)

{
  if (((*param_1 & 1) != 0) && (*(int *)(param_1 + 4) == DAT_000897ec)) {
    param_1 = *(byte **)(param_1 + 0xc);
  }
  if (((*param_2 & 1) != 0) && (*(int *)(param_2 + 4) == DAT_000897ec)) {
    return param_1 == *(byte **)(param_2 + 0xc);
  }
  return param_1 == param_2;
}

