
/* DWARF original prototype: Expression * find_memory_region_origin(Script_sections * this, char *
   name, size_t namelen) */

Expression * __thiscall
gold::Script_sections::find_memory_region_origin(Script_sections *this,char *name,size_t namelen)

{
  Memory_region *pMVar1;
  
  pMVar1 = find_memory_region(this,name,namelen);
  if (pMVar1 != (Memory_region *)0x0) {
    pMVar1 = (Memory_region *)pMVar1->start_;
  }
  return (Expression *)pMVar1;
}



long FUN_00257be0(void)

{
  long lVar1;
  
  lVar1 = FUN_00257b60();
  if (lVar1 != 0) {
    lVar1 = *(long *)(lVar1 + 0x28);
  }
  return lVar1;
}


SUB RSP,0x8
CALL 0x00257b60
TEST RAX,RAX
JZ 0x00257bf2
MOV RAX,qword ptr [RAX + 0x28]
ADD RSP,0x8
RET
(translation_unit "long FUN_00257be0(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}\n\n" (function_definition "long FUN_00257be0(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00257be0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = FUN_00257b60();" (assignment_expression "lVar1 = FUN_00257b60()" identifier = (call_expression "FUN_00257b60()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }" { (expression_statement "lVar1 = *(long *)(lVar1 + 0x28);" (assignment_expression "lVar1 = *(long *)(lVar1 + 0x28)" identifier = (pointer_expression "*(long *)(lVar1 + 0x28)" * (cast_expression "(long *)(lVar1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) ;) })) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: Expression * find_memory_region_origin(Script_sections * this, char *\n   name, size_t namelen) */\n\nExpression * __thiscall\ngold::Script_sections::find_memory_region_origin(Script_sections *this,char *name,size_t namelen)\n\n{\n  Memory_region *pMVar1;\n  \n  pMVar1 = find_memory_region(this,name,namelen);\n  if (pMVar1 != (Memory_region *)0x0) {\n    pMVar1 = (Memory_region *)pMVar1->start_;\n  }\n  return (Expression *)pMVar1;\n}\n\n" comment (ERROR "Expression * __thiscall\ngold::Script_sections::find_memory_region_origin(Script_sections *this,char *name,size_t namelen)" (binary_expression "Expression * __thiscall\ngold::Script_sections::find_memory_region_origin(Script_sections *this" (binary_expression "Expression * __thiscall" identifier * identifier) (ERROR "gold::Script_sections::find_memory_region_origin(Script_sections" identifier : : identifier : : identifier ( identifier) * identifier) , primitive_type (pointer_declarator "*name" * identifier) , identifier identifier )) (compound_statement "{\n  Memory_region *pMVar1;\n  \n  pMVar1 = find_memory_region(this,name,namelen);\n  if (pMVar1 != (Memory_region *)0x0) {\n    pMVar1 = (Memory_region *)pMVar1->start_;\n  }\n  return (Expression *)pMVar1;\n}" { (declaration "Memory_region *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (expression_statement "pMVar1 = find_memory_region(this,name,namelen);" (assignment_expression "pMVar1 = find_memory_region(this,name,namelen)" identifier = (call_expression "find_memory_region(this,name,namelen)" identifier (argument_list "(this,name,namelen)" ( identifier , identifier , identifier )))) ;) (if_statement "if (pMVar1 != (Memory_region *)0x0) {\n    pMVar1 = (Memory_region *)pMVar1->start_;\n  }" if (parenthesized_expression "(pMVar1 != (Memory_region *)0x0)" ( (binary_expression "pMVar1 != (Memory_region *)0x0" identifier != (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pMVar1 = (Memory_region *)pMVar1->start_;\n  }" { (expression_statement "pMVar1 = (Memory_region *)pMVar1->start_;" (assignment_expression "pMVar1 = (Memory_region *)pMVar1->start_" identifier = (cast_expression "(Memory_region *)pMVar1->start_" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pMVar1->start_" identifier -> field_identifier))) ;) })) (return_statement "return (Expression *)pMVar1;" return (cast_expression "(Expression *)pMVar1" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) }))
(translation_unit "long FUN_00257be0(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}\n\n" (function_definition "long FUN_00257be0(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00257be0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = FUN_00257b60();" (assignment_expression "lVar1 = FUN_00257b60()" identifier = (call_expression "FUN_00257b60()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }" { (expression_statement "lVar1 = *(long *)(lVar1 + 0x28);" (assignment_expression "lVar1 = *(long *)(lVar1 + 0x28)" identifier = (pointer_expression "*(long *)(lVar1 + 0x28)" * (cast_expression "(long *)(lVar1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) ;) })) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "long FUN_00257be0(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_00257be0(void)" (identifier "FUN_00257be0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_00257b60();\n  if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }\n  return lVar1;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = FUN_00257b60();" (assignment_expression "lVar1 = FUN_00257b60()" (identifier "lVar1") (= "=") (call_expression "FUN_00257b60()" (identifier "FUN_00257b60") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar1 != 0) {\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = *(long *)(lVar1 + 0x28);\n  }" ({ "{") (expression_statement "lVar1 = *(long *)(lVar1 + 0x28);" (assignment_expression "lVar1 = *(long *)(lVar1 + 0x28)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(lVar1 + 0x28)" (* "*") (cast_expression "(long *)(lVar1 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (} "}"))) (return_statement "return lVar1;" (return "return") (identifier "lVar1") (; ";")) (} "}")))

/* DWARF original prototype: Expression * find_memory_region_origin(Script_sections * this, char *
   name, size_t namelen) */

type_2 * __thiscall
gold::Script_sections::find_memory_region_origin(Script_sections *this,char *name,size_t namelen)

{
  type_1 *var_2;
  
  var_2 = var_1(this,name,namelen);
  if (var_2 != (type_1 *)0x0) {
    var_2 = (type_1 *)var_2->start_;
  }
  return (type_2 *)var_2;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (identifier)))))

long MASKED(void)

{
  long lVar1;
  
  lVar1 = FUN_00257b60();
  if (lVar1 != 0) {
    lVar1 = *(long *)(lVar1 + 0x28);
  }
  return lVar1;
}

