
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Object_merge_map * get_or_create_merge_map(Relobj * this) */

Object_merge_map * __thiscall gold::Relobj::get_or_create_merge_map(Relobj *this)

{
  Object_merge_map *pOVar1;
  
  if (this->object_merge_map_ != (Object_merge_map *)0x0) {
    return this->object_merge_map_;
  }
  pOVar1 = (Object_merge_map *)operator_new(0xc);
  (pOVar1->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
  ._M_impl._M_start = (pointer)0x0;
  (pOVar1->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
  ._M_impl._M_finish = (pointer)0x0;
  (pOVar1->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>
  ._M_impl._M_end_of_storage = (pointer)0x0;
  this->object_merge_map_ = pOVar1;
  return pOVar1;
}



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

void FUN_000b1f00(int param_1)

{
  undefined4 *puVar1;
  
  if (*(int *)(param_1 + 0x48) != 0) {
    return;
  }
  puVar1 = (undefined4 *)FUN_001e5200(0xc);
  *puVar1 = 0;
  puVar1[1] = 0;
  puVar1[2] = 0;
  *(undefined4 **)(param_1 + 0x48) = puVar1;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2dd0f9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESI + 0x48]
TEST EAX,EAX
JZ 0x000b1f28
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH 0xc
CALL 0x001e5200
ADD ESP,0x10
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [ESI + 0x48],EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b1f00(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}\n\n" comment (function_definition "void FUN_000b1f00(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}" primitive_type (function_declarator "FUN_000b1f00(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x48) != 0)" ( (binary_expression "*(int *)(param_1 + 0x48) != 0" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x48) = puVar1;" (assignment_expression "*(undefined4 **)(param_1 + 0x48) = puVar1" (pointer_expression "*(undefined4 **)(param_1 + 0x48)" * (cast_expression "(undefined4 **)(param_1 + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Object_merge_map * get_or_create_merge_map(Relobj * this) */\n\nObject_merge_map * __thiscall gold::Relobj::get_or_create_merge_map(Relobj *this)\n\n{\n  Object_merge_map *pOVar1;\n  \n  if (this->object_merge_map_ != (Object_merge_map *)0x0) {\n    return this->object_merge_map_;\n  }\n  pOVar1 = (Object_merge_map *)operator_new(0xc);\n  (pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  this->object_merge_map_ = pOVar1;\n  return pOVar1;\n}\n\n" comment comment (ERROR "Object_merge_map * __thiscall gold::Relobj::get_or_create_merge_map(Relobj *this)" (binary_expression "Object_merge_map * __thiscall gold::Relobj::get_or_create_merge_map(Relobj *this" (binary_expression "Object_merge_map * __thiscall" identifier * identifier) (ERROR "gold::Relobj::get_or_create_merge_map(Relobj" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  Object_merge_map *pOVar1;\n  \n  if (this->object_merge_map_ != (Object_merge_map *)0x0) {\n    return this->object_merge_map_;\n  }\n  pOVar1 = (Object_merge_map *)operator_new(0xc);\n  (pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_start = (pointer)0x0;\n  (pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = (pointer)0x0;\n  (pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;\n  this->object_merge_map_ = pOVar1;\n  return pOVar1;\n}" { (declaration "Object_merge_map *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (if_statement "if (this->object_merge_map_ != (Object_merge_map *)0x0) {\n    return this->object_merge_map_;\n  }" if (parenthesized_expression "(this->object_merge_map_ != (Object_merge_map *)0x0)" ( (binary_expression "this->object_merge_map_ != (Object_merge_map *)0x0" (field_expression "this->object_merge_map_" identifier -> field_identifier) != (cast_expression "(Object_merge_map *)0x0" ( (type_descriptor "Object_merge_map *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return this->object_merge_map_;\n  }" { (return_statement "return this->object_merge_map_;" return (field_expression "this->object_merge_map_" identifier -> field_identifier) ;) })) (expression_statement "pOVar1 = (Object_merge_map *)operator_new(0xc);" (assignment_expression "pOVar1 = (Object_merge_map *)operator_new(0xc)" identifier = (cast_expression "(Object_merge_map *)operator_new(0xc)" ( (type_descriptor "Object_merge_map *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (ERROR "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::" (comma_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int" (binary_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std" (field_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base" (parenthesized_expression "(pOVar1->section_merge_maps_)" ( (field_expression "pOVar1->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : :) (labeled_statement "Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_start = (pointer)0x0;" statement_identifier (ERROR "::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold:" : : (comma_expression "Input_merge_map*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_start = (pointer)0x0;" (assignment_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_start = (pointer)0x0" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_start" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;)) (ERROR "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::" (comma_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int" (binary_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std" (field_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base" (parenthesized_expression "(pOVar1->section_merge_maps_)" ( (field_expression "pOVar1->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : :) (labeled_statement "Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = (pointer)0x0;" statement_identifier (ERROR "::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold:" : : (comma_expression "Input_merge_map*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish = (pointer)0x0" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_finish" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;)) (ERROR "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold::" (comma_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int,_gold" (binary_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std::pair<unsigned_int" (binary_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base<std" (field_expression "(pOVar1->section_merge_maps_).\n  super__Vector_base" (parenthesized_expression "(pOVar1->section_merge_maps_)" ( (field_expression "pOVar1->section_merge_maps_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : :) (labeled_statement "Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier (ERROR "::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold:" : : (comma_expression "Input_merge_map*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_gold" (binary_expression "pair<unsigned_int" identifier < identifier) , identifier) :) : (expression_statement "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl._M_end_of_storage" (field_expression "Object_merge_map::Input_merge_map*>_>_>\n  ._M_impl" (binary_expression "Object_merge_map::Input_merge_map*>_>_" (binary_expression "Object_merge_map::Input_merge_map*>_" identifier (ERROR "::Input_merge_map*" : : identifier *) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;)) (expression_statement "this->object_merge_map_ = pOVar1;" (assignment_expression "this->object_merge_map_ = pOVar1" (field_expression "this->object_merge_map_" identifier -> field_identifier) = identifier) ;) (return_statement "return pOVar1;" return identifier ;) }))
(translation_unit "void FUN_000b1f00(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}\n\n" (function_definition "void FUN_000b1f00(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}" primitive_type (function_declarator "FUN_000b1f00(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x48) != 0)" ( (binary_expression "*(int *)(param_1 + 0x48) != 0" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0xc)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 **)(param_1 + 0x48) = puVar1;" (assignment_expression "*(undefined4 **)(param_1 + 0x48) = puVar1" (pointer_expression "*(undefined4 **)(param_1 + 0x48)" * (cast_expression "(undefined4 **)(param_1 + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000b1f00(int param_1)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b1f00(int param_1)" (identifier "FUN_000b1f00") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)FUN_001e5200(0xc);\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  *(undefined4 **)(param_1 + 0x48) = puVar1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x48) != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x48) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x48) != 0" (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)FUN_001e5200(0xc);" (assignment_expression "puVar1 = (undefined4 *)FUN_001e5200(0xc)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_001e5200(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(0xc)" (identifier "FUN_001e5200") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x48) = puVar1;" (assignment_expression "*(undefined4 **)(param_1 + 0x48) = puVar1" (pointer_expression "*(undefined4 **)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Object_merge_map * get_or_create_merge_map(Relobj * this) */

type_1 * __thiscall gold::Relobj::get_or_create_merge_map(Relobj *this)

{
  type_1 *pOVar1;
  
  if (this->object_merge_map_ != (type_1 *)0x0) {
    return this->object_merge_map_;
  }
  pOVar1 = (type_1 *)var_1(0xc);
  (pOVar1->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::type_1::Input_merge_map*>var_2>var_2>
  ._M_impl._M_start = (type_2)0x0;
  (pOVar1->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::type_1::Input_merge_map*>var_2>var_2>
  ._M_impl._M_finish = (type_2)0x0;
  (pOVar1->section_merge_maps_).
  super__Vector_base<std::pair<unsigned_int,_gold::Object_merge_map::Input_merge_map*>,_std::allocator<std::pair<unsigned_int,_gold::type_1::Input_merge_map*>var_2>var_2>
  ._M_impl._M_end_of_storage = (type_2)0x0;
  this->object_merge_map_ = pOVar1;
  return pOVar1;
}


(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: (type_identifier) declarator: (pointer_declarator 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 (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_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: (identifier))) (return_statement))))

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

void MASKED(int param_1)

{
  undefined4 *puVar1;
  
  if (*(int *)(param_1 + 0x48) != 0) {
    return;
  }
  puVar1 = (undefined4 *)FUN_001e5200(0xc);
  *puVar1 = 0;
  puVar1[1] = 0;
  puVar1[2] = 0;
  *(undefined4 **)(param_1 + 0x48) = puVar1;
  return;
}

