
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elements_iterator last_place(Orphan_section_placement * this) */

Elements_iterator __thiscall
gold::Orphan_section_placement::last_place(Orphan_section_placement *this)

{
  _List_node_base *in_stack_00000004;
  
  if (this->places_[10].have_location != false) {
    in_stack_00000004->_M_next = this->places_[10].location._M_node;
    return (Elements_iterator)in_stack_00000004;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/script-sections.cc",0x24d,"last_place");
}



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

void FUN_00106d40(undefined4 *param_1,int param_2)

{
  if (*(char *)(param_2 + 0x7c) != '\0') {
    *param_1 = *(undefined4 *)(param_2 + 0x80);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x1fb2ba
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EDX + 0x7c],0x0
JZ 0x00106d6c
MOV EDX,dword ptr [EDX + 0x80]
MOV dword ptr [EAX],EDX
ADD ESP,0x8
POP EBX
RET 0x4
PUSH EAX
LEA EAX,[EBX + 0xfff2cb38]
PUSH EAX
LEA EAX,[EBX + 0xfff2c01b]
PUSH 0x24d
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00106d40(undefined4 *param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}\n\n" comment (function_definition "void FUN_00106d40(undefined4 *param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}" primitive_type (function_declarator "FUN_00106d40(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}" { (if_statement "if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 0x7c) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x7c) != '\0'" (pointer_expression "*(char *)(param_2 + 0x7c)" * (cast_expression "(char *)(param_2 + 0x7c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x7c)" ( (binary_expression "param_2 + 0x7c" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }" { (expression_statement "*param_1 = *(undefined4 *)(param_2 + 0x80);" (assignment_expression "*param_1 = *(undefined4 *)(param_2 + 0x80)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)(param_2 + 0x80)" * (cast_expression "(undefined4 *)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);" (call_expression "FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1)" identifier (argument_list "("../../gold/script-sections.cc",0x24d,"last_place",param_1)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""last_place"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Elements_iterator last_place(Orphan_section_placement * this) */\n\nElements_iterator __thiscall\ngold::Orphan_section_placement::last_place(Orphan_section_placement *this)\n\n{\n  _List_node_base *in_stack_00000004;\n  \n  if (this->places_[10].have_location != false) {\n    in_stack_00000004->_M_next = this->places_[10].location._M_node;\n    return (Elements_iterator)in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0x24d,"last_place");\n}\n\n" comment comment (function_definition "Elements_iterator __thiscall\ngold::Orphan_section_placement::last_place(Orphan_section_placement *this)\n\n{\n  _List_node_base *in_stack_00000004;\n  \n  if (this->places_[10].have_location != false) {\n    in_stack_00000004->_M_next = this->places_[10].location._M_node;\n    return (Elements_iterator)in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0x24d,"last_place");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Orphan_section_placement::" identifier : : identifier : :) (function_declarator "last_place(Orphan_section_placement *this)" identifier (parameter_list "(Orphan_section_placement *this)" ( (parameter_declaration "Orphan_section_placement *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  _List_node_base *in_stack_00000004;\n  \n  if (this->places_[10].have_location != false) {\n    in_stack_00000004->_M_next = this->places_[10].location._M_node;\n    return (Elements_iterator)in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0x24d,"last_place");\n}" { (declaration "_List_node_base *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (if_statement "if (this->places_[10].have_location != false) {\n    in_stack_00000004->_M_next = this->places_[10].location._M_node;\n    return (Elements_iterator)in_stack_00000004;\n  }" if (parenthesized_expression "(this->places_[10].have_location != false)" ( (binary_expression "this->places_[10].have_location != false" (field_expression "this->places_[10].have_location" (subscript_expression "this->places_[10]" (field_expression "this->places_" identifier -> field_identifier) [ number_literal ]) . field_identifier) != false) )) (compound_statement "{\n    in_stack_00000004->_M_next = this->places_[10].location._M_node;\n    return (Elements_iterator)in_stack_00000004;\n  }" { (expression_statement "in_stack_00000004->_M_next = this->places_[10].location._M_node;" (assignment_expression "in_stack_00000004->_M_next = this->places_[10].location._M_node" (field_expression "in_stack_00000004->_M_next" identifier -> field_identifier) = (field_expression "this->places_[10].location._M_node" (field_expression "this->places_[10].location" (subscript_expression "this->places_[10]" (field_expression "this->places_" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier)) ;) (return_statement "return (Elements_iterator)in_stack_00000004;" return (cast_expression "(Elements_iterator)in_stack_00000004" ( (type_descriptor "Elements_iterator" type_identifier) ) identifier) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/script-sections.cc",0x24d,"last_place");" (call_expression "do_gold_unreachable("../../gold/script-sections.cc",0x24d,"last_place")" identifier (argument_list "("../../gold/script-sections.cc",0x24d,"last_place")" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""last_place"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00106d40(undefined4 *param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}\n\n" (function_definition "void FUN_00106d40(undefined4 *param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}" primitive_type (function_declarator "FUN_00106d40(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}" { (if_statement "if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 0x7c) != '\0')" ( (binary_expression "*(char *)(param_2 + 0x7c) != '\0'" (pointer_expression "*(char *)(param_2 + 0x7c)" * (cast_expression "(char *)(param_2 + 0x7c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x7c)" ( (binary_expression "param_2 + 0x7c" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }" { (expression_statement "*param_1 = *(undefined4 *)(param_2 + 0x80);" (assignment_expression "*param_1 = *(undefined4 *)(param_2 + 0x80)" (pointer_expression "*param_1" * identifier) = (pointer_expression "*(undefined4 *)(param_2 + 0x80)" * (cast_expression "(undefined4 *)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);" (call_expression "FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1)" identifier (argument_list "("../../gold/script-sections.cc",0x24d,"last_place",param_1)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""last_place"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00106d40(undefined4 *param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}" (primitive_type "void") (function_declarator "FUN_00106d40(undefined4 *param_1,int param_2)" (identifier "FUN_00106d40") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);\n}" ({ "{") (if_statement "if (*(char *)(param_2 + 0x7c) != '\0') {\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 0x7c) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 0x7c) != '\0'" (pointer_expression "*(char *)(param_2 + 0x7c)" (* "*") (cast_expression "(char *)(param_2 + 0x7c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x7c)" (( "(") (binary_expression "param_2 + 0x7c" (identifier "param_2") (+ "+") (number_literal "0x7c")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *param_1 = *(undefined4 *)(param_2 + 0x80);\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *(undefined4 *)(param_2 + 0x80);" (assignment_expression "*param_1 = *(undefined4 *)(param_2 + 0x80)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x80)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);" (call_expression "FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/script-sections.cc",0x24d,"last_place",param_1)" (( "(") (string_literal ""../../gold/script-sections.cc"" (" """) (string_content "../../gold/script-sections.cc") (" """)) (, ",") (number_literal "0x24d") (, ",") (string_literal ""last_place"" (" """) (string_content "last_place") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elements_iterator last_place(Orphan_section_placement * this) */

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

{
  type_3 *in_stack_00000004;
  
  if (this->places_[10].have_location != false) {
    in_stack_00000004->_M_next = this->places_[10].location._M_node;
    return (type_1)in_stack_00000004;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/script-sections.cc",0x24d,"last_place");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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 (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(undefined4 *param_1,int param_2)

{
  if (*(char *)(param_2 + 0x7c) != '\0') {
    *param_1 = *(undefined4 *)(param_2 + 0x80);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/script-sections.cc",0x24d,"last_place",param_1);
}

