
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int generic_force_reloc(fixS *fix)

{
  int iVar1;
  
  iVar1 = 1;
  if (1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT) {
    iVar1 = 0;
    if (fix->fx_addsy != (symbolS *)0x0) {
      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));
    }
  }
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00044ba0(int param_1)

{
  undefined4 uVar1;
  
  uVar1 = 1;
  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {
    uVar1 = 0;
    if (*(int *)(param_1 + 0xc) != 0) {
      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);
    }
  }
  return uVar1;
}


PUSH EBX
CALL 0x00016070
ADD EBX,0x3345a
SUB ESP,0x8
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ECX + 0x30]
LEA EDX,[EAX + 0xfffffa5d]
MOV EAX,0x1
CMP EDX,0x1
JBE 0x00044be6
MOV EDX,dword ptr [ECX + 0xc]
XOR EAX,EAX
TEST EDX,EDX
JZ 0x00044be6
MOV ECX,dword ptr [ECX + 0x10]
SUB ESP,0x8
XOR EAX,EAX
TEST ECX,ECX
SETZ AL
PUSH EAX
PUSH EDX
CALL 0x0003de30
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00044ba0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_00044ba0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00044ba0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }" if (parenthesized_expression "(1 < *(int *)(param_1 + 0x30) - 0x5a3U)" ( (binary_expression "1 < *(int *)(param_1 + 0x30) - 0x5a3U" number_literal < (binary_expression "*(int *)(param_1 + 0x30) - 0x5a3U" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) - number_literal)) )) (compound_statement "{\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }" { (expression_statement "uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);" (assignment_expression "uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" identifier = (call_expression "FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" identifier (argument_list "(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" ( (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (binary_expression "*(int *)(param_1 + 0x10) == 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )))) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint generic_force_reloc(fixS *fix)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT) {\n    iVar1 = 0;\n    if (fix->fx_addsy != (symbolS *)0x0) {\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }\n  }\n  return iVar1;\n}\n\n" comment comment (function_definition "int generic_force_reloc(fixS *fix)\n\n{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT) {\n    iVar1 = 0;\n    if (fix->fx_addsy != (symbolS *)0x0) {\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "generic_force_reloc(fixS *fix)" identifier (parameter_list "(fixS *fix)" ( (parameter_declaration "fixS *fix" type_identifier (pointer_declarator "*fix" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 1;\n  if (1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT) {\n    iVar1 = 0;\n    if (fix->fx_addsy != (symbolS *)0x0) {\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if (1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT) {\n    iVar1 = 0;\n    if (fix->fx_addsy != (symbolS *)0x0) {\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }\n  }" if (parenthesized_expression "(1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT)" ( (binary_expression "1 < fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT" number_literal < (binary_expression "fix->fx_r_type - BFD_RELOC_VTABLE_INHERIT" (field_expression "fix->fx_r_type" identifier -> field_identifier) - identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    if (fix->fx_addsy != (symbolS *)0x0) {\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (fix->fx_addsy != (symbolS *)0x0) {\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }" if (parenthesized_expression "(fix->fx_addsy != (symbolS *)0x0)" ( (binary_expression "fix->fx_addsy != (symbolS *)0x0" (field_expression "fix->fx_addsy" identifier -> field_identifier) != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));\n    }" { (expression_statement "iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0));" (assignment_expression "iVar1 = S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0))" identifier = (call_expression "S_FORCE_RELOC(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0))" identifier (argument_list "(fix->fx_addsy,(uint)(fix->fx_subsy == (symbolS *)0x0))" ( (field_expression "fix->fx_addsy" identifier -> field_identifier) , (call_expression "(uint)(fix->fx_subsy == (symbolS *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(fix->fx_subsy == (symbolS *)0x0)" ( (binary_expression "fix->fx_subsy == (symbolS *)0x0" (field_expression "fix->fx_subsy" identifier -> field_identifier) == (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )))) ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00044ba0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00044ba0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00044ba0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }" if (parenthesized_expression "(1 < *(int *)(param_1 + 0x30) - 0x5a3U)" ( (binary_expression "1 < *(int *)(param_1 + 0x30) - 0x5a3U" number_literal < (binary_expression "*(int *)(param_1 + 0x30) - 0x5a3U" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) - number_literal)) )) (compound_statement "{\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }" { (expression_statement "uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);" (assignment_expression "uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" identifier = (call_expression "FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" identifier (argument_list "(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" ( (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (binary_expression "*(int *)(param_1 + 0x10) == 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )))) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (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 = 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 = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00044ba0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00044ba0(int param_1)" (identifier "FUN_00044ba0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 1;\n  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }" (if "if") (parenthesized_expression "(1 < *(int *)(param_1 + 0x30) - 0x5a3U)" (( "(") (binary_expression "1 < *(int *)(param_1 + 0x30) - 0x5a3U" (number_literal "1") (< "<") (binary_expression "*(int *)(param_1 + 0x30) - 0x5a3U" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (- "-") (number_literal "0x5a3U"))) () ")")) (compound_statement "{\n    uVar1 = 0;\n    if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }\n  }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);\n    }" ({ "{") (expression_statement "uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);" (assignment_expression "uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" (identifier "uVar1") (= "=") (call_expression "FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" (identifier "FUN_0003de30") (argument_list "(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0)" (( "(") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (binary_expression "*(int *)(param_1 + 0x10) == 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 *fix)

{
  int iVar1;
  
  iVar1 = 1;
  if (1 < fix->fx_r_type - var_1) {
    iVar1 = 0;
    if (fix->fx_addsy != (type_2 *)0x0) {
      iVar1 = var_2(fix->fx_addsy,(uint)(fix->fx_subsy == (type_2 *)0x0));
    }
  }
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (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: (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: (call_expression function: (identifier) arguments: (argument_list (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))))) (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 (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1)

{
  undefined4 uVar1;
  
  uVar1 = 1;
  if (1 < *(int *)(param_1 + 0x30) - 0x5a3U) {
    uVar1 = 0;
    if (*(int *)(param_1 + 0xc) != 0) {
      uVar1 = FUN_0003de30(*(int *)(param_1 + 0xc),*(int *)(param_1 + 0x10) == 0);
    }
  }
  return uVar1;
}

