
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_archive_stop(Cref * this, Archive * archive) */

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

{
  Cref_inputs *pCVar1;
  
  pCVar1 = this->inputs_;
  if ((Cref_inputs *)pCVar1->current_ != pCVar1) {
    pCVar1->current_ = &pCVar1->objects_;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/cref.cc",0x99,"add_archive_stop");
}



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

void FUN_0019f350(int *param_1)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (*(int *)(iVar1 + 0x24) != iVar1) {
    *(int *)(iVar1 + 0x24) = iVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x1efcaa
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
CMP dword ptr [EAX + 0x24],EAX
JZ 0x0019f372
MOV dword ptr [EAX + 0x24],EAX
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff0ee5c]
PUSH EAX
LEA EAX,[EBX + 0xfff0eda3]
PUSH 0x99
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0019f350(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}\n\n" comment (function_definition "void FUN_0019f350(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}" primitive_type (function_declarator "FUN_0019f350(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != iVar1)" ( (binary_expression "*(int *)(iVar1 + 0x24) != iVar1" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }" { (expression_statement "*(int *)(iVar1 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);" (call_expression "FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1)" identifier (argument_list "("../../gold/cref.cc",0x99,"add_archive_stop",iVar1)" ( (string_literal ""../../gold/cref.cc"" " string_content ") , number_literal , (string_literal ""add_archive_stop"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void add_archive_stop(Cref * this, Archive * archive) */\n\nvoid __thiscall gold::Cref::add_archive_stop(Cref *this,Archive *archive)\n\n{\n  Cref_inputs *pCVar1;\n  \n  pCVar1 = this->inputs_;\n  if ((Cref_inputs *)pCVar1->current_ != pCVar1) {\n    pCVar1->current_ = &pCVar1->objects_;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/cref.cc",0x99,"add_archive_stop");\n}\n\n" comment comment (function_definition "void __thiscall gold::Cref::add_archive_stop(Cref *this,Archive *archive)\n\n{\n  Cref_inputs *pCVar1;\n  \n  pCVar1 = this->inputs_;\n  if ((Cref_inputs *)pCVar1->current_ != pCVar1) {\n    pCVar1->current_ = &pCVar1->objects_;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/cref.cc",0x99,"add_archive_stop");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Cref::" identifier : : identifier : :) (function_declarator "add_archive_stop(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  Cref_inputs *pCVar1;\n  \n  pCVar1 = this->inputs_;\n  if ((Cref_inputs *)pCVar1->current_ != pCVar1) {\n    pCVar1->current_ = &pCVar1->objects_;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/cref.cc",0x99,"add_archive_stop");\n}" { (declaration "Cref_inputs *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (expression_statement "pCVar1 = this->inputs_;" (assignment_expression "pCVar1 = this->inputs_" identifier = (field_expression "this->inputs_" identifier -> field_identifier)) ;) (if_statement "if ((Cref_inputs *)pCVar1->current_ != pCVar1) {\n    pCVar1->current_ = &pCVar1->objects_;\n    return;\n  }" if (parenthesized_expression "((Cref_inputs *)pCVar1->current_ != pCVar1)" ( (binary_expression "(Cref_inputs *)pCVar1->current_ != pCVar1" (cast_expression "(Cref_inputs *)pCVar1->current_" ( (type_descriptor "Cref_inputs *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pCVar1->current_" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n    pCVar1->current_ = &pCVar1->objects_;\n    return;\n  }" { (expression_statement "pCVar1->current_ = &pCVar1->objects_;" (assignment_expression "pCVar1->current_ = &pCVar1->objects_" (field_expression "pCVar1->current_" identifier -> field_identifier) = (pointer_expression "&pCVar1->objects_" & (field_expression "pCVar1->objects_" identifier -> field_identifier))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/cref.cc",0x99,"add_archive_stop");" (call_expression "do_gold_unreachable("../../gold/cref.cc",0x99,"add_archive_stop")" identifier (argument_list "("../../gold/cref.cc",0x99,"add_archive_stop")" ( (string_literal ""../../gold/cref.cc"" " string_content ") , number_literal , (string_literal ""add_archive_stop"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0019f350(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}\n\n" (function_definition "void FUN_0019f350(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}" primitive_type (function_declarator "FUN_0019f350(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != iVar1)" ( (binary_expression "*(int *)(iVar1 + 0x24) != iVar1" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }" { (expression_statement "*(int *)(iVar1 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);" (call_expression "FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1)" identifier (argument_list "("../../gold/cref.cc",0x99,"add_archive_stop",iVar1)" ( (string_literal ""../../gold/cref.cc"" " string_content ") , number_literal , (string_literal ""add_archive_stop"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (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 ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0019f350(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}" (primitive_type "void") (function_declarator "FUN_0019f350(int *param_1)" (identifier "FUN_0019f350") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x24) != iVar1) {\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x24) != iVar1)" (( "(") (binary_expression "*(int *)(iVar1 + 0x24) != iVar1" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n    *(int *)(iVar1 + 0x24) = iVar1;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(iVar1 + 0x24) = iVar1;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar1" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);" (call_expression "FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/cref.cc",0x99,"add_archive_stop",iVar1)" (( "(") (string_literal ""../../gold/cref.cc"" (" """) (string_content "../../gold/cref.cc") (" """)) (, ",") (number_literal "0x99") (, ",") (string_literal ""add_archive_stop"" (" """) (string_content "add_archive_stop") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_archive_stop(Cref * this, Archive * archive) */

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

{
  type_3 *var_1;
  
  var_1 = this->inputs_;
  if ((type_3 *)var_1->current_ != var_1) {
    var_1->current_ = &var_1->objects_;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/cref.cc",0x99,"add_archive_stop");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (identifier))) 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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(int *param_1)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (*(int *)(iVar1 + 0x24) != iVar1) {
    *(int *)(iVar1 + 0x24) = iVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/cref.cc",0x99,"add_archive_stop",iVar1);
}

