
/* DWARF original prototype: void update_last_alloc(Orphan_section_placement * this,
   Elements_iterator elem) */

void __thiscall
gold::Orphan_section_placement::update_last_alloc
          (Orphan_section_placement *this,Elements_iterator elem)

{
  if ((this->places_[6].have_location != false) &&
     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)) {
    this->places_[6].location._M_node = elem._M_node;
    return;
  }
  return;
}



void FUN_00330c10(int param_1,int param_2)

{
  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {
    *(int *)(param_1 + 0x50) = param_2;
    return;
  }
  return;
}


MOV EAX,dword ptr [ESP + 0x4]
CMP byte ptr [EAX + 0x4c],0x0
JZ 0x00330c26
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EDX + 0x4]
CMP dword ptr [EAX + 0x50],ECX
JZ 0x00330c30
RET
MOV dword ptr [EAX + 0x50],EDX
RET
(translation_unit "void FUN_00330c10(int param_1,int param_2)\n\n{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00330c10(int param_1,int param_2)\n\n{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00330c10(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}" { (if_statement "if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }" if (parenthesized_expression "((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4)))" ( (binary_expression "(*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))" (parenthesized_expression "(*(char *)(param_1 + 0x4c) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x4c) != '\0'" (pointer_expression "*(char *)(param_1 + 0x4c)" * (cast_expression "(char *)(param_1 + 0x4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x50) = param_2;" (assignment_expression "*(int *)(param_1 + 0x50) = param_2" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void update_last_alloc(Orphan_section_placement * this,\n   Elements_iterator elem) */\n\nvoid __thiscall\ngold::Orphan_section_placement::update_last_alloc\n          (Orphan_section_placement *this,Elements_iterator elem)\n\n{\n  if ((this->places_[6].have_location != false) &&\n     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)) {\n    this->places_[6].location._M_node = elem._M_node;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Orphan_section_placement::update_last_alloc\n          (Orphan_section_placement *this,Elements_iterator elem)\n\n{\n  if ((this->places_[6].have_location != false) &&\n     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)) {\n    this->places_[6].location._M_node = elem._M_node;\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Orphan_section_placement::" identifier : : identifier : :) (function_declarator "update_last_alloc\n          (Orphan_section_placement *this,Elements_iterator elem)" identifier (parameter_list "(Orphan_section_placement *this,Elements_iterator elem)" ( (parameter_declaration "Orphan_section_placement *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Elements_iterator elem" type_identifier identifier) ))) (compound_statement "{\n  if ((this->places_[6].have_location != false) &&\n     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)) {\n    this->places_[6].location._M_node = elem._M_node;\n    return;\n  }\n  return;\n}" { (if_statement "if ((this->places_[6].have_location != false) &&\n     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)) {\n    this->places_[6].location._M_node = elem._M_node;\n    return;\n  }" if (parenthesized_expression "((this->places_[6].have_location != false) &&\n     (this->places_[6].location._M_node == (elem._M_node)->_M_prev))" ( (binary_expression "(this->places_[6].have_location != false) &&\n     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)" (parenthesized_expression "(this->places_[6].have_location != false)" ( (binary_expression "this->places_[6].have_location != false" (field_expression "this->places_[6].have_location" (subscript_expression "this->places_[6]" (field_expression "this->places_" identifier -> field_identifier) [ number_literal ]) . field_identifier) != false) )) && (parenthesized_expression "(this->places_[6].location._M_node == (elem._M_node)->_M_prev)" ( (binary_expression "this->places_[6].location._M_node == (elem._M_node)->_M_prev" (field_expression "this->places_[6].location._M_node" (field_expression "this->places_[6].location" (subscript_expression "this->places_[6]" (field_expression "this->places_" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier) == (field_expression "(elem._M_node)->_M_prev" (parenthesized_expression "(elem._M_node)" ( (field_expression "elem._M_node" identifier . field_identifier) )) -> field_identifier)) ))) )) (compound_statement "{\n    this->places_[6].location._M_node = elem._M_node;\n    return;\n  }" { (expression_statement "this->places_[6].location._M_node = elem._M_node;" (assignment_expression "this->places_[6].location._M_node = elem._M_node" (field_expression "this->places_[6].location._M_node" (field_expression "this->places_[6].location" (subscript_expression "this->places_[6]" (field_expression "this->places_" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier) = (field_expression "elem._M_node" identifier . field_identifier)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00330c10(int param_1,int param_2)\n\n{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00330c10(int param_1,int param_2)\n\n{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00330c10(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}" { (if_statement "if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }" if (parenthesized_expression "((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4)))" ( (binary_expression "(*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))" (parenthesized_expression "(*(char *)(param_1 + 0x4c) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x4c) != '\0'" (pointer_expression "*(char *)(param_1 + 0x4c)" * (cast_expression "(char *)(param_1 + 0x4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))" ( (binary_expression "*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x50) = param_2;" (assignment_expression "*(int *)(param_1 + 0x50) = param_2" (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00330c10(int param_1,int param_2)\n\n{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00330c10(int param_1,int param_2)" (identifier "FUN_00330c10") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }" (if "if") (parenthesized_expression "((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4)))" (( "(") (binary_expression "(*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))" (parenthesized_expression "(*(char *)(param_1 + 0x4c) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x4c) != '\0'" (pointer_expression "*(char *)(param_1 + 0x4c)" (* "*") (cast_expression "(char *)(param_1 + 0x4c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))" (( "(") (binary_expression "*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4)" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (== "==") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x50) = param_2;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x50) = param_2;" (assignment_expression "*(int *)(param_1 + 0x50) = param_2" (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void update_last_alloc(Orphan_section_placement * this,
   Elements_iterator elem) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 elem)

{
  if ((this->places_[6].have_location != false) &&
     (this->places_[6].location._M_node == (elem._M_node)->_M_prev)) {
    this->places_[6].location._M_node = elem._M_node;
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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)))) right: (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: (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))))))))) consequence: (compound_statement (expression_statement (assignment_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: (identifier))) (return_statement))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  if ((*(char *)(param_1 + 0x4c) != '\0') && (*(int *)(param_1 + 0x50) == *(int *)(param_2 + 4))) {
    *(int *)(param_1 + 0x50) = param_2;
    return;
  }
  return;
}

