
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint relocs_entsize(Incremental_inputs * this) */

uint __thiscall gold::Incremental_inputs::relocs_entsize(Incremental_inputs *this)

{
  int iVar1;
  int iVar2;
  
  if (parameters->target_ != (Target *)0x0) {
    iVar1 = **(int **)(parameters->target_ + 4);
    iVar2 = iVar1 + 3;
    if (-1 < iVar1) {
      iVar2 = iVar1;
    }
    return (iVar2 >> 2) + 8;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x69,"target");
}



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

int FUN_00066d40(void)

{
  int iVar1;
  int iVar2;
  
  if (*(int *)(DAT_00302378 + 0xc) != 0) {
    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);
    iVar2 = iVar1 + 3;
    if (-1 < iVar1) {
      iVar2 = iVar1;
    }
    return (iVar2 >> 2) + 8;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x29b2ba
SUB ESP,0x8
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00066d76
MOV EAX,dword ptr [EAX + 0x4]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
LEA EAX,[EDX + 0x3]
CMOVNS EAX,EDX
ADD ESP,0x8
POP EBX
SAR EAX,0x2
ADD EAX,0x8
RET
PUSH EAX
LEA EAX,[EBX + 0xfff20880]
PUSH EAX
LEA EAX,[EBX + 0xfff1e970]
PUSH 0x69
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00066d40(void)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}\n\n" comment (function_definition "int FUN_00066d40(void)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}" primitive_type (function_declarator "FUN_00066d40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" if (parenthesized_expression "(*(int *)(DAT_00302378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_00302378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" { (expression_statement "iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" identifier = (pointer_expression "**(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00302378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_00302378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar2 = iVar1 + 3;" (assignment_expression "iVar2 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      iVar2 = iVar1;\n    }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (return_statement "return (iVar2 >> 2) + 8;" return (binary_expression "(iVar2 >> 2) + 8" (parenthesized_expression "(iVar2 >> 2)" ( (binary_expression "iVar2 >> 2" identifier >> number_literal) )) + number_literal) ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_0005f0b0("../../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.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint relocs_entsize(Incremental_inputs * this) */\n\nuint __thiscall gold::Incremental_inputs::relocs_entsize(Incremental_inputs *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}\n\n" comment comment comment (function_definition "uint __thiscall gold::Incremental_inputs::relocs_entsize(Incremental_inputs *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Incremental_inputs::" identifier : : identifier : :) (function_declarator "relocs_entsize(Incremental_inputs *this)" identifier (parameter_list "(Incremental_inputs *this)" ( (parameter_declaration "Incremental_inputs *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (parameters->target_ != (Target *)0x0) {\n    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\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    iVar1 = **(int **)(parameters->target_ + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" { (expression_statement "iVar1 = **(int **)(parameters->target_ + 4);" (assignment_expression "iVar1 = **(int **)(parameters->target_ + 4)" identifier = (pointer_expression "**(int **)(parameters->target_ + 4)" * (pointer_expression "*(int **)(parameters->target_ + 4)" * (cast_expression "(int **)(parameters->target_ + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))))) ;) (expression_statement "iVar2 = iVar1 + 3;" (assignment_expression "iVar2 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      iVar2 = iVar1;\n    }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (return_statement "return (iVar2 >> 2) + 8;" return (binary_expression "(iVar2 >> 2) + 8" (parenthesized_expression "(iVar2 >> 2)" ( (binary_expression "iVar2 >> 2" identifier >> number_literal) )) + number_literal) ;) })) 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 "int FUN_00066d40(void)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    \n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}\n\n" (function_definition "int FUN_00066d40(void)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    \n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}" primitive_type (function_declarator "FUN_00066d40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    \n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" if (parenthesized_expression "(*(int *)(DAT_00302378 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_00302378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" { (expression_statement "iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" identifier = (pointer_expression "**(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" * (pointer_expression "*(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00302378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_00302378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_00302378 + 0xc)" * (cast_expression "(int *)(DAT_00302378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 0xc)" ( (binary_expression "DAT_00302378 + 0xc" identifier + number_literal) )))) + number_literal) )))))) ;) (expression_statement "iVar2 = iVar1 + 3;" (assignment_expression "iVar2 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      iVar2 = iVar1;\n    }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (return_statement "return (iVar2 >> 2) + 8;" return (binary_expression "(iVar2 >> 2) + 8" (parenthesized_expression "(iVar2 >> 2)" ( (binary_expression "iVar2 >> 2" identifier >> number_literal) )) + number_literal) ;) })) (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_0005f0b0("../../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) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "int FUN_00066d40(void)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    \n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}" (primitive_type "int") (function_declarator "FUN_00066d40(void)" (identifier "FUN_00066d40") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }\n                    \n  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (*(int *)(DAT_00302378 + 0xc) != 0) {\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_00302378 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_00302378 + 0xc) != 0" (pointer_expression "*(int *)(DAT_00302378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_00302378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 0xc)" (( "(") (binary_expression "DAT_00302378 + 0xc" (identifier "DAT_00302378") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);\n    iVar2 = iVar1 + 3;\n    if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }\n    return (iVar2 >> 2) + 8;\n  }" ({ "{") (expression_statement "iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);" (assignment_expression "iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" (* "*") (pointer_expression "*(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(DAT_00302378 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_00302378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_00302378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_00302378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_00302378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 0xc)" (( "(") (binary_expression "DAT_00302378 + 0xc" (identifier "DAT_00302378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "iVar2 = iVar1 + 3;" (assignment_expression "iVar2 = iVar1 + 3" (identifier "iVar2") (= "=") (binary_expression "iVar1 + 3" (identifier "iVar1") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (-1 < iVar1) {\n      iVar2 = iVar1;\n    }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n      iVar2 = iVar1;\n    }" ({ "{") (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (return_statement "return (iVar2 >> 2) + 8;" (return "return") (binary_expression "(iVar2 >> 2) + 8" (parenthesized_expression "(iVar2 >> 2)" (( "(") (binary_expression "iVar2 >> 2" (identifier "iVar2") (>> ">>") (number_literal "2")) () ")")) (+ "+") (number_literal "8")) (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0)" (identifier "FUN_0005f0b0") (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.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint relocs_entsize(Incremental_inputs * this) */

type_1 __thiscall gold::type_2::function_1(type_2 *this)

{
  int var_1;
  int var_2;
  
  if (parameters->target_ != (type_3 *)0x0) {
    var_1 = **(int **)(parameters->target_ + 4);
    var_2 = var_1 + 3;
    if (-1 < var_1) {
      var_2 = var_1;
    }
    return (var_2 >> 2) + 8;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/parameters.h",0x69,"target");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (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.bx replaced with injection: get_pc_thunk_bx */

int MASKED(void)

{
  int iVar1;
  int iVar2;
  
  if (*(int *)(DAT_00302378 + 0xc) != 0) {
    iVar1 = **(int **)(*(int *)(DAT_00302378 + 0xc) + 4);
    iVar2 = iVar1 + 3;
    if (-1 < iVar1) {
      iVar2 = iVar1;
    }
    return (iVar2 >> 2) + 8;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/parameters.h",0x69,"target",0);
}

