
/* DWARF original prototype: const_iterator begin(Archive * this) */

const_iterator * __thiscall
gold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)

{
  __return_storage_ptr__->archive_ = this;
  __return_storage_ptr__->off_ = 8;
  (__return_storage_ptr__->header_).name._M_dataplus._M_p =
       (pointer)&(__return_storage_ptr__->header_).name.field_2;
  (__return_storage_ptr__->header_).name._M_string_length = 0;
  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';
                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */
  const_iterator::read_next_header(__return_storage_ptr__);
  return __return_storage_ptr__;
}



undefined8 * FUN_0028d470(undefined8 *param_1,undefined8 param_2)

{
  *param_1 = param_2;
  param_1[1] = 8;
  param_1[2] = param_1 + 4;
  param_1[3] = 0;
  *(undefined1 *)(param_1 + 4) = 0;
                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */
  FUN_0028d2f0();
  return param_1;
}


PUSH R12
PUSH RBP
LEA RBP,[RDI + 0x20]
PUSH RBX
MOV RBX,RDI
MOV qword ptr [RDI],RSI
MOV qword ptr [RDI + 0x8],0x8
MOV qword ptr [RDI + 0x10],RBP
MOV qword ptr [RDI + 0x18],0x0
MOV byte ptr [RDI + 0x20],0x0
CALL 0x0028d2f0
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
(translation_unit "undefined8 * FUN_0028d470(undefined8 *param_1,undefined8 param_2)\n\n{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */\n  FUN_0028d2f0();\n  return param_1;\n}\n\n" (function_definition "undefined8 * FUN_0028d470(undefined8 *param_1,undefined8 param_2)\n\n{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */\n  FUN_0028d2f0();\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_0028d470(undefined8 *param_1,undefined8 param_2)" * (function_declarator "FUN_0028d470(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */\n  FUN_0028d2f0();\n  return param_1;\n}" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = 8;" (assignment_expression "param_1[1] = 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = param_1 + 4;" (assignment_expression "param_1[2] = param_1 + 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" * (cast_expression "(undefined1 *)(param_1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) comment (expression_statement "FUN_0028d2f0();" (call_expression "FUN_0028d2f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: const_iterator begin(Archive * this) */\n\nconst_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)\n\n{\n  __return_storage_ptr__->archive_ = this;\n  __return_storage_ptr__->off_ = 8;\n  (__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2;\n  (__return_storage_ptr__->header_).name._M_string_length = 0;\n  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';\n                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */\n  const_iterator::read_next_header(__return_storage_ptr__);\n  return __return_storage_ptr__;\n}\n\n" comment (ERROR "const_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)" (binary_expression "const_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this" (binary_expression "const_iterator * __thiscall\ngold::Archive::begin(const_iterator *__return_storage_ptr__" (binary_expression "const_iterator * __thiscall" identifier * identifier) (ERROR "gold::Archive::begin(const_iterator" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Archive" , identifier) * identifier) )) (compound_statement "{\n  __return_storage_ptr__->archive_ = this;\n  __return_storage_ptr__->off_ = 8;\n  (__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2;\n  (__return_storage_ptr__->header_).name._M_string_length = 0;\n  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';\n                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */\n  const_iterator::read_next_header(__return_storage_ptr__);\n  return __return_storage_ptr__;\n}" { (expression_statement "__return_storage_ptr__->archive_ = this;" (assignment_expression "__return_storage_ptr__->archive_ = this" (field_expression "__return_storage_ptr__->archive_" identifier -> field_identifier) = identifier) ;) (expression_statement "__return_storage_ptr__->off_ = 8;" (assignment_expression "__return_storage_ptr__->off_ = 8" (field_expression "__return_storage_ptr__->off_" identifier -> field_identifier) = number_literal) ;) (expression_statement "(__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2;" (assignment_expression "(__return_storage_ptr__->header_).name._M_dataplus._M_p =\n       (pointer)&(__return_storage_ptr__->header_).name.field_2" (field_expression "(__return_storage_ptr__->header_).name._M_dataplus._M_p" (field_expression "(__return_storage_ptr__->header_).name._M_dataplus" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = (binary_expression "(pointer)&(__return_storage_ptr__->header_).name.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "(__return_storage_ptr__->header_).name.field_2" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "(__return_storage_ptr__->header_).name._M_string_length = 0;" (assignment_expression "(__return_storage_ptr__->header_).name._M_string_length = 0" (field_expression "(__return_storage_ptr__->header_).name._M_string_length" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';" (assignment_expression "(__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0'" (subscript_expression "(__return_storage_ptr__->header_).name.field_2._M_local_buf[0]" (field_expression "(__return_storage_ptr__->header_).name.field_2._M_local_buf" (field_expression "(__return_storage_ptr__->header_).name.field_2" (field_expression "(__return_storage_ptr__->header_).name" (parenthesized_expression "(__return_storage_ptr__->header_)" ( (field_expression "__return_storage_ptr__->header_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) comment (labeled_statement "const_iterator::read_next_header(__return_storage_ptr__);" statement_identifier : (ERROR ":" :) (expression_statement "read_next_header(__return_storage_ptr__);" (call_expression "read_next_header(__return_storage_ptr__)" identifier (argument_list "(__return_storage_ptr__)" ( identifier ))) ;)) (return_statement "return __return_storage_ptr__;" return identifier ;) }))
(translation_unit "undefined8 * FUN_0028d470(undefined8 *param_1,undefined8 param_2)\n\n{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    \n  FUN_0028d2f0();\n  return param_1;\n}\n\n" (function_definition "undefined8 * FUN_0028d470(undefined8 *param_1,undefined8 param_2)\n\n{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    \n  FUN_0028d2f0();\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_0028d470(undefined8 *param_1,undefined8 param_2)" * (function_declarator "FUN_0028d470(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    \n  FUN_0028d2f0();\n  return param_1;\n}" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = 8;" (assignment_expression "param_1[1] = 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = param_1 + 4;" (assignment_expression "param_1[2] = param_1 + 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" * (cast_expression "(undefined1 *)(param_1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0028d2f0();" (call_expression "FUN_0028d2f0()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 * FUN_0028d470(undefined8 *param_1,undefined8 param_2)\n\n{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    \n  FUN_0028d2f0();\n  return param_1;\n}" (type_identifier "undefined8") (pointer_declarator "* FUN_0028d470(undefined8 *param_1,undefined8 param_2)" (* "*") (function_declarator "FUN_0028d470(undefined8 *param_1,undefined8 param_2)" (identifier "FUN_0028d470") (parameter_list "(undefined8 *param_1,undefined8 param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")")))) (compound_statement "{\n  *param_1 = param_2;\n  param_1[1] = 8;\n  param_1[2] = param_1 + 4;\n  param_1[3] = 0;\n  *(undefined1 *)(param_1 + 4) = 0;\n                    \n  FUN_0028d2f0();\n  return param_1;\n}" ({ "{") (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = 8;" (assignment_expression "param_1[1] = 8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "8")) (; ";")) (expression_statement "param_1[2] = param_1 + 4;" (assignment_expression "param_1[2] = param_1 + 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 4) = 0" (pointer_expression "*(undefined1 *)(param_1 + 4)" (* "*") (cast_expression "(undefined1 *)(param_1 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0028d2f0();" (call_expression "FUN_0028d2f0()" (identifier "FUN_0028d2f0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* DWARF original prototype: const_iterator begin(Archive * this) */

const_iterator * __thiscall
gold::Archive::begin(const_iterator *__return_storage_ptr__,Archive *this)

{
  __return_storage_ptr__->archive_ = this;
  __return_storage_ptr__->off_ = 8;
  (__return_storage_ptr__->header_).name._M_dataplus._M_p =
       (pointer)&(__return_storage_ptr__->header_).name.field_2;
  (__return_storage_ptr__->header_).name._M_string_length = 0;
  (__return_storage_ptr__->header_).name.field_2._M_local_buf[0] = '\0';
                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */
  const_iterator::var_1(__return_storage_ptr__);
  return __return_storage_ptr__;
}


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

undefined8 * MASKED(undefined8 *param_1,undefined8 param_2)

{
  *param_1 = param_2;
  param_1[1] = 8;
  param_1[2] = param_1 + 4;
  param_1[3] = 0;
  *(undefined1 *)(param_1 + 4) = 0;
                    /* try { // try from 0028d496 to 0028d49a has its CatchHandler @ 0028d4a3 */
  FUN_0028d2f0();
  return param_1;
}

