
/* DWARF original prototype: void add_archive_start(Cref * this, Archive * archive) */

void __thiscall gold::Cref::add_archive_start(Cref *this,Archive *archive)

{
  if (this->inputs_ != (Cref_inputs *)0x0) {
    Cref_inputs::add_archive_start(this->inputs_,archive);
    return;
  }
  need_inputs(this);
  Cref_inputs::add_archive_start(this->inputs_,archive);
  return;
}



void FUN_0023cd20(long *param_1,undefined8 param_2)

{
  if (*param_1 != 0) {
    FUN_0023c970();
    return;
  }
  FUN_0023bed0(param_1);
  FUN_0023c970(*param_1,param_2);
  return;
}


PUSH RBX
MOV RBX,RDI
SUB RSP,0x10
MOV RDI,qword ptr [RDI]
TEST RDI,RDI
JZ 0x0023cd40
ADD RSP,0x10
POP RBX
JMP 0x0023c970
MOV RDI,RBX
MOV qword ptr [RSP + 0x8],RSI
CALL 0x0023bed0
MOV RDI,qword ptr [RBX]
MOV RSI,qword ptr [RSP + 0x8]
ADD RSP,0x10
POP RBX
JMP 0x0023c970
(translation_unit "void FUN_0023cd20(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_0023cd20(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0023cd20(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}" { (if_statement "if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    FUN_0023c970();\n    return;\n  }" { (expression_statement "FUN_0023c970();" (call_expression "FUN_0023c970()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0023bed0(param_1);" (call_expression "FUN_0023bed0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_0023c970(*param_1,param_2);" (call_expression "FUN_0023c970(*param_1,param_2)" identifier (argument_list "(*param_1,param_2)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void add_archive_start(Cref * this, Archive * archive) */\n\nvoid __thiscall gold::Cref::add_archive_start(Cref *this,Archive *archive)\n\n{\n  if (this->inputs_ != (Cref_inputs *)0x0) {\n    Cref_inputs::add_archive_start(this->inputs_,archive);\n    return;\n  }\n  need_inputs(this);\n  Cref_inputs::add_archive_start(this->inputs_,archive);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Cref::add_archive_start(Cref *this,Archive *archive)\n\n{\n  if (this->inputs_ != (Cref_inputs *)0x0) {\n    Cref_inputs::add_archive_start(this->inputs_,archive);\n    return;\n  }\n  need_inputs(this);\n  Cref_inputs::add_archive_start(this->inputs_,archive);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Cref::" identifier : : identifier : :) (function_declarator "add_archive_start(Cref *this,Archive *archive)" identifier (parameter_list "(Cref *this,Archive *archive)" ( (parameter_declaration "Cref *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Archive *archive" type_identifier (pointer_declarator "*archive" * identifier)) ))) (compound_statement "{\n  if (this->inputs_ != (Cref_inputs *)0x0) {\n    Cref_inputs::add_archive_start(this->inputs_,archive);\n    return;\n  }\n  need_inputs(this);\n  Cref_inputs::add_archive_start(this->inputs_,archive);\n  return;\n}" { (if_statement "if (this->inputs_ != (Cref_inputs *)0x0) {\n    Cref_inputs::add_archive_start(this->inputs_,archive);\n    return;\n  }" if (parenthesized_expression "(this->inputs_ != (Cref_inputs *)0x0)" ( (binary_expression "this->inputs_ != (Cref_inputs *)0x0" (field_expression "this->inputs_" identifier -> field_identifier) != (cast_expression "(Cref_inputs *)0x0" ( (type_descriptor "Cref_inputs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Cref_inputs::add_archive_start(this->inputs_,archive);\n    return;\n  }" { (labeled_statement "Cref_inputs::add_archive_start(this->inputs_,archive);" statement_identifier : (ERROR ":" :) (expression_statement "add_archive_start(this->inputs_,archive);" (call_expression "add_archive_start(this->inputs_,archive)" identifier (argument_list "(this->inputs_,archive)" ( (field_expression "this->inputs_" identifier -> field_identifier) , identifier ))) ;)) (return_statement "return;" return ;) })) (expression_statement "need_inputs(this);" (call_expression "need_inputs(this)" identifier (argument_list "(this)" ( identifier ))) ;) (labeled_statement "Cref_inputs::add_archive_start(this->inputs_,archive);" statement_identifier : (ERROR ":" :) (expression_statement "add_archive_start(this->inputs_,archive);" (call_expression "add_archive_start(this->inputs_,archive)" identifier (argument_list "(this->inputs_,archive)" ( (field_expression "this->inputs_" identifier -> field_identifier) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0023cd20(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_0023cd20(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0023cd20(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}" { (if_statement "if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    FUN_0023c970();\n    return;\n  }" { (expression_statement "FUN_0023c970();" (call_expression "FUN_0023c970()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0023bed0(param_1);" (call_expression "FUN_0023bed0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_0023c970(*param_1,param_2);" (call_expression "FUN_0023c970(*param_1,param_2)" identifier (argument_list "(*param_1,param_2)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0023cd20(long *param_1,undefined8 param_2)\n\n{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0023cd20(long *param_1,undefined8 param_2)" (identifier "FUN_0023cd20") (parameter_list "(long *param_1,undefined8 param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }\n  FUN_0023bed0(param_1);\n  FUN_0023c970(*param_1,param_2);\n  return;\n}" ({ "{") (if_statement "if (*param_1 != 0) {\n    FUN_0023c970();\n    return;\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0023c970();\n    return;\n  }" ({ "{") (expression_statement "FUN_0023c970();" (call_expression "FUN_0023c970()" (identifier "FUN_0023c970") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0023bed0(param_1);" (call_expression "FUN_0023bed0(param_1)" (identifier "FUN_0023bed0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_0023c970(*param_1,param_2);" (call_expression "FUN_0023c970(*param_1,param_2)" (identifier "FUN_0023c970") (argument_list "(*param_1,param_2)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void add_archive_start(Cref * this, Archive * archive) */

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

{
  if (this->inputs_ != (type_3 *)0x0) {
    Cref_inputs::function_1(this->inputs_,archive);
    return;
  }
  var_1(this);
  Cref_inputs::function_1(this->inputs_,archive);
  return;
}


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

void MASKED(long *param_1,undefined8 param_2)

{
  if (*param_1 != 0) {
    FUN_0023c970();
    return;
  }
  FUN_0023bed0(param_1);
  FUN_0023c970(*param_1,param_2);
  return;
}

