
/* 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: char * entry(Parameters * this) */

char * __thiscall gold::Parameters::entry(Parameters *this)

{
  Target *pTVar1;
  
  if (this->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
  }
  pTVar1 = (Target *)(this->options_->entry_).value;
  if ((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)) {
    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);
  }
  return (char *)pTVar1;
}



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

int FUN_00139510(int param_1)

{
  int iVar1;
  
  if (*(int *)(param_1 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);
  }
  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);
  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {
    return *(int *)(*(int *)(iVar1 + 4) + 0x58);
  }
  return iVar1;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x255aea
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x00139558
MOV EAX,dword ptr [EAX + 0x10c0]
TEST EAX,EAX
JZ 0x00139540
ADD ESP,0x8
POP EBX
RET
MOV EAX,dword ptr [EBX + 0x378]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00139534
MOV EAX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX + 0x58]
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff06170]
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x5c
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00139510(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_00139510(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00139510(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 0x10c0)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + 0x10c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10c0)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10c0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)" ( (comma_expression "iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 0xc)" identifier = (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) ))))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }" { (return_statement "return *(int *)(*(int *)(iVar1 + 4) + 0x58);" return (pointer_expression "*(int *)(*(int *)(iVar1 + 4) + 0x58)" * (cast_expression "(int *)(*(int *)(iVar1 + 4) + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 4) + 0x58)" ( (binary_expression "*(int *)(iVar1 + 4) + 0x58" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) + number_literal) )))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(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: char * entry(Parameters * this) */\n\nchar * __thiscall gold::Parameters::entry(Parameters *this)\n\n{\n  Target *pTVar1;\n  \n  if (this->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pTVar1 = (Target *)(this->options_->entry_).value;\n  if ((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)) {\n    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);\n  }\n  return (char *)pTVar1;\n}\n\n" comment comment comment (declaration "char * __thiscall" primitive_type (pointer_declarator "* __thiscall" * identifier) ;) (labeled_statement "gold::Parameters::entry(Parameters *this)\n\n{\n  Target *pTVar1;\n  \n  if (this->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pTVar1 = (Target *)(this->options_->entry_).value;\n  if ((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)) {\n    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);\n  }\n  return (char *)pTVar1;\n}" statement_identifier : (ERROR ":" :) (labeled_statement "Parameters::entry(Parameters *this)\n\n{\n  Target *pTVar1;\n  \n  if (this->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pTVar1 = (Target *)(this->options_->entry_).value;\n  if ((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)) {\n    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);\n  }\n  return (char *)pTVar1;\n}" statement_identifier : (ERROR ":entry(Parameters *this)" : (call_expression "entry(Parameters *this)" identifier (argument_list "(Parameters *this)" ( (binary_expression "Parameters *this" identifier * identifier) )))) (compound_statement "{\n  Target *pTVar1;\n  \n  if (this->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pTVar1 = (Target *)(this->options_->entry_).value;\n  if ((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)) {\n    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);\n  }\n  return (char *)pTVar1;\n}" { (declaration "Target *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (if_statement "if (this->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(this->options_ == (General_options *)0x0)" ( (binary_expression "this->options_ == (General_options *)0x0" (field_expression "this->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "pTVar1 = (Target *)(this->options_->entry_).value;" (assignment_expression "pTVar1 = (Target *)(this->options_->entry_).value" identifier = (cast_expression "(Target *)(this->options_->entry_).value" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(this->options_->entry_).value" (parenthesized_expression "(this->options_->entry_)" ( (field_expression "this->options_->entry_" (field_expression "this->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier))) ;) (if_statement "if ((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)) {\n    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);\n  }" if (parenthesized_expression "((pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0))" ( (binary_expression "(pTVar1 == (Target *)0x0) && (pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)" (parenthesized_expression "(pTVar1 == (Target *)0x0)" ( (binary_expression "pTVar1 == (Target *)0x0" identifier == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pTVar1 = parameters->target_, pTVar1 != (Target *)0x0)" ( (comma_expression "pTVar1 = parameters->target_, pTVar1 != (Target *)0x0" (assignment_expression "pTVar1 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) , (binary_expression "pTVar1 != (Target *)0x0" identifier != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return *(char **)(*(int *)(pTVar1 + 4) + 0x58);\n  }" { (return_statement "return *(char **)(*(int *)(pTVar1 + 4) + 0x58);" return (pointer_expression "*(char **)(*(int *)(pTVar1 + 4) + 0x58)" * (cast_expression "(char **)(*(int *)(pTVar1 + 4) + 0x58)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(pTVar1 + 4) + 0x58)" ( (binary_expression "*(int *)(pTVar1 + 4) + 0x58" (pointer_expression "*(int *)(pTVar1 + 4)" * (cast_expression "(int *)(pTVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pTVar1 + 4)" ( (binary_expression "pTVar1 + 4" identifier + number_literal) )))) + number_literal) )))) ;) })) (return_statement "return (char *)pTVar1;" return (cast_expression "(char *)pTVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) }))))
(translation_unit "int FUN_00139510(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00139510(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00139510(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 0x10c0)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + 0x10c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10c0)" ( (binary_expression "*(int *)(param_1 + 8) + 0x10c0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0))" ( (binary_expression "(iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)" ( (comma_expression "iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 0xc)" identifier = (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) ))))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }" { (return_statement "return *(int *)(*(int *)(iVar1 + 4) + 0x58);" return (pointer_expression "*(int *)(*(int *)(iVar1 + 4) + 0x58)" * (cast_expression "(int *)(*(int *)(iVar1 + 4) + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 4) + 0x58)" ( (binary_expression "*(int *)(iVar1 + 4) + 0x58" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) + number_literal) )))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return (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 IDENT ;) })))
(function_definition "int FUN_00139510(int param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00139510(int param_1)" (identifier "FUN_00139510") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);\n  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x5c,"options",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 8) + 0x10c0)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 8) + 0x10c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 0x10c0)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 0x10c0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10c0")) () ")"))))) (; ";")) (if_statement "if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }" (if "if") (parenthesized_expression "((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0))" (( "(") (binary_expression "(iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)" (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)" (( "(") (comma_expression "iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(DAT_0038f378 + 0xc)" (identifier "iVar1") (= "=") (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")) () ")"))))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return *(int *)(*(int *)(iVar1 + 4) + 0x58);\n  }" ({ "{") (return_statement "return *(int *)(*(int *)(iVar1 + 4) + 0x58);" (return "return") (pointer_expression "*(int *)(*(int *)(iVar1 + 4) + 0x58)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 4) + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 4) + 0x58)" (( "(") (binary_expression "*(int *)(iVar1 + 4) + 0x58" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x58")) () ")")))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

/* 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: char * entry(Parameters * this) */

char * __thiscall gold::Parameters::entry(Parameters *this)

{
  type_1 *var_2;
  
  if (this->options_ == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/parameters.h",0x5c,"options");
  }
  var_2 = (type_1 *)(this->options_->entry_).value;
  if ((var_2 == (type_1 *)0x0) && (var_2 = parameters->target_, var_2 != (type_1 *)0x0)) {
    return *(char **)(*(int *)(var_2 + 4) + 0x58);
  }
  return (char *)var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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 (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (number_literal)))))) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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: (identifier) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (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 (identifier)))))

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

int MASKED(int param_1)

{
  int iVar1;
  
  if (*(int *)(param_1 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);
  }
  iVar1 = *(int *)(*(int *)(param_1 + 8) + 0x10c0);
  if ((iVar1 == 0) && (iVar1 = *(int *)(DAT_0038f378 + 0xc), iVar1 != 0)) {
    return *(int *)(*(int *)(iVar1 + 4) + 0x58);
  }
  return iVar1;
}

