
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Dot_expression * this, Expression_eval_info * eei) */

uint64_t __thiscall gold::Dot_expression::value(Dot_expression *this,Expression_eval_info *eei)

{
  char *format;
  
  if (eei->is_dot_available != false) {
    if (eei->result_section_pointer != (Output_section **)0x0) {
      *eei->result_section_pointer = eei->dot_section;
    }
    return eei->dot_value;
  }
  format = (char *)gettext("invalid reference to dot symbol outside of SECTIONS clause");
  gold_error(format);
  return 0;
}



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

undefined8 FUN_001ba260(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(char *)(param_2 + 9) != '\0') {
    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {
      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);
    }
    return *(undefined8 *)(param_2 + 0xc);
  }
  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");
  FUN_000654b0(uVar1);
  return 0;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x1d4d9a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX + 0x9],0x0
JZ 0x001ba290
MOV EDX,dword ptr [EAX + 0x18]
TEST EDX,EDX
JZ 0x001ba285
MOV ECX,dword ptr [EAX + 0x14]
MOV dword ptr [EDX],ECX
MOV EDX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0xc]
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfff0ffac]
PUSH EAX
CALL 0x000293b0
MOV dword ptr [ESP],EAX
CALL 0x000654b0
ADD ESP,0x10
XOR EAX,EAX
XOR EDX,EDX
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 FUN_001ba260(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}\n\n" comment (function_definition "undefined8 FUN_001ba260(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_001ba260(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }" if (parenthesized_expression "(*(char *)(param_2 + 9) != '\0')" ( (binary_expression "*(char *)(param_2 + 9) != '\0'" (pointer_expression "*(char *)(param_2 + 9)" * (cast_expression "(char *)(param_2 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }" { (if_statement "if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }" if (parenthesized_expression "(*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_2 + 0x18)" * (cast_expression "(undefined4 **)(param_2 + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }" { (expression_statement "**(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "**(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14)" (pointer_expression "**(undefined4 **)(param_2 + 0x18)" * (pointer_expression "*(undefined4 **)(param_2 + 0x18)" * (cast_expression "(undefined4 **)(param_2 + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) })) (return_statement "return *(undefined8 *)(param_2 + 0xc);" return (pointer_expression "*(undefined8 *)(param_2 + 0xc)" * (cast_expression "(undefined8 *)(param_2 + 0xc)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ;) })) (expression_statement "uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");" (assignment_expression "uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause")" identifier = (call_expression "gettext("invalid reference to dot symbol outside of SECTIONS clause")" identifier (argument_list "("invalid reference to dot symbol outside of SECTIONS clause")" ( (string_literal ""invalid reference to dot symbol outside of SECTIONS clause"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar1);" (call_expression "FUN_000654b0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return 0;" return 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/* WARNING: Enum "STT": Some values do not have unique names */\n/* DWARF original prototype: uint64_t value(Dot_expression * this, Expression_eval_info * eei) */\n\nuint64_t __thiscall gold::Dot_expression::value(Dot_expression *this,Expression_eval_info *eei)\n\n{\n  char *format;\n  \n  if (eei->is_dot_available != false) {\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = eei->dot_section;\n    }\n    return eei->dot_value;\n  }\n  format = (char *)gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  gold_error(format);\n  return 0;\n}\n\n" comment comment comment comment (function_definition "uint64_t __thiscall gold::Dot_expression::value(Dot_expression *this,Expression_eval_info *eei)\n\n{\n  char *format;\n  \n  if (eei->is_dot_available != false) {\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = eei->dot_section;\n    }\n    return eei->dot_value;\n  }\n  format = (char *)gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  gold_error(format);\n  return 0;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dot_expression::" identifier : : identifier : :) (function_declarator "value(Dot_expression *this,Expression_eval_info *eei)" identifier (parameter_list "(Dot_expression *this,Expression_eval_info *eei)" ( (parameter_declaration "Dot_expression *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression_eval_info *eei" type_identifier (pointer_declarator "*eei" * identifier)) ))) (compound_statement "{\n  char *format;\n  \n  if (eei->is_dot_available != false) {\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = eei->dot_section;\n    }\n    return eei->dot_value;\n  }\n  format = (char *)gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  gold_error(format);\n  return 0;\n}" { (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (if_statement "if (eei->is_dot_available != false) {\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = eei->dot_section;\n    }\n    return eei->dot_value;\n  }" if (parenthesized_expression "(eei->is_dot_available != false)" ( (binary_expression "eei->is_dot_available != false" (field_expression "eei->is_dot_available" identifier -> field_identifier) != false) )) (compound_statement "{\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = eei->dot_section;\n    }\n    return eei->dot_value;\n  }" { (if_statement "if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = eei->dot_section;\n    }" if (parenthesized_expression "(eei->result_section_pointer != (Output_section **)0x0)" ( (binary_expression "eei->result_section_pointer != (Output_section **)0x0" (field_expression "eei->result_section_pointer" identifier -> field_identifier) != (cast_expression "(Output_section **)0x0" ( (type_descriptor "Output_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      *eei->result_section_pointer = eei->dot_section;\n    }" { (expression_statement "*eei->result_section_pointer = eei->dot_section;" (assignment_expression "*eei->result_section_pointer = eei->dot_section" (pointer_expression "*eei->result_section_pointer" * (field_expression "eei->result_section_pointer" identifier -> field_identifier)) = (field_expression "eei->dot_section" identifier -> field_identifier)) ;) })) (return_statement "return eei->dot_value;" return (field_expression "eei->dot_value" identifier -> field_identifier) ;) })) (expression_statement "format = (char *)gettext("invalid reference to dot symbol outside of SECTIONS clause");" (assignment_expression "format = (char *)gettext("invalid reference to dot symbol outside of SECTIONS clause")" identifier = (cast_expression "(char *)gettext("invalid reference to dot symbol outside of SECTIONS clause")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("invalid reference to dot symbol outside of SECTIONS clause")" identifier (argument_list "("invalid reference to dot symbol outside of SECTIONS clause")" ( (string_literal ""invalid reference to dot symbol outside of SECTIONS clause"" " string_content ") ))))) ;) (expression_statement "gold_error(format);" (call_expression "gold_error(format)" identifier (argument_list "(format)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_001ba260(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001ba260(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_001ba260(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }" if (parenthesized_expression "(*(char *)(param_2 + 9) != '\0')" ( (binary_expression "*(char *)(param_2 + 9) != '\0'" (pointer_expression "*(char *)(param_2 + 9)" * (cast_expression "(char *)(param_2 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }" { (if_statement "if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }" if (parenthesized_expression "(*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_2 + 0x18)" * (cast_expression "(undefined4 **)(param_2 + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }" { (expression_statement "**(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "**(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14)" (pointer_expression "**(undefined4 **)(param_2 + 0x18)" * (pointer_expression "*(undefined4 **)(param_2 + 0x18)" * (cast_expression "(undefined4 **)(param_2 + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) })) (return_statement "return *(undefined8 *)(param_2 + 0xc);" return (pointer_expression "*(undefined8 *)(param_2 + 0xc)" * (cast_expression "(undefined8 *)(param_2 + 0xc)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ;) })) (expression_statement "uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");" (assignment_expression "uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause")" identifier = (call_expression "gettext("invalid reference to dot symbol outside of SECTIONS clause")" identifier (argument_list "("invalid reference to dot symbol outside of SECTIONS clause")" ( (string_literal ""invalid reference to dot symbol outside of SECTIONS clause"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar1);" (call_expression "FUN_000654b0(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (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) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_001ba260(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_001ba260(undefined4 param_1,int param_2)" (identifier "FUN_001ba260") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }\n  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");\n  FUN_000654b0(uVar1);\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(char *)(param_2 + 9) != '\0') {\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 9) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 9) != '\0'" (pointer_expression "*(char *)(param_2 + 9)" (* "*") (cast_expression "(char *)(param_2 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }\n    return *(undefined8 *)(param_2 + 0xc);\n  }" ({ "{") (if_statement "if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0)" (( "(") (binary_expression "*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);\n    }" ({ "{") (expression_statement "**(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "**(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14)" (pointer_expression "**(undefined4 **)(param_2 + 0x18)" (* "*") (pointer_expression "*(undefined4 **)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}"))) (return_statement "return *(undefined8 *)(param_2 + 0xc);" (return "return") (pointer_expression "*(undefined8 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");" (assignment_expression "uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause")" (identifier "uVar1") (= "=") (call_expression "gettext("invalid reference to dot symbol outside of SECTIONS clause")" (identifier "gettext") (argument_list "("invalid reference to dot symbol outside of SECTIONS clause")" (( "(") (string_literal ""invalid reference to dot symbol outside of SECTIONS clause"" (" """) (string_content "invalid reference to dot symbol outside of SECTIONS clause") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654b0(uVar1);" (call_expression "FUN_000654b0(uVar1)" (identifier "FUN_000654b0") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (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 */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Dot_expression * this, Expression_eval_info * eei) */

uint64_t __thiscall gold::type_1::function_1(type_1 *this,type_2 *eei)

{
  char *format;
  
  if (eei->is_dot_available != false) {
    if (eei->result_section_pointer != (type_3 **)0x0) {
      *eei->result_section_pointer = eei->dot_section;
    }
    return eei->dot_value;
  }
  format = (char *)var_1("invalid reference to dot symbol outside of SECTIONS clause");
  var_2(format);
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (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)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))

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

undefined8 MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(char *)(param_2 + 9) != '\0') {
    if (*(undefined4 **)(param_2 + 0x18) != (undefined4 *)0x0) {
      **(undefined4 **)(param_2 + 0x18) = *(undefined4 *)(param_2 + 0x14);
    }
    return *(undefined8 *)(param_2 + 0xc);
  }
  uVar1 = gettext("invalid reference to dot symbol outside of SECTIONS clause");
  FUN_000654b0(uVar1);
  return 0;
}

