
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~Lock_impl_nothreads(Lock_impl_nothreads * this, int __in_chrg) */

void __thiscall
gold::Lock_impl_nothreads::~Lock_impl_nothreads(Lock_impl_nothreads *this,int __in_chrg)

{
  bool bVar1;
  
  bVar1 = this->acquired_;
  (this->super_Lock_impl)._vptr_Lock_impl = (_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4
  ;
  if (bVar1 == false) {
    operator_delete(this,8);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads");
}



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

void FUN_0008e9d0(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_003336c4;
  if (*(char *)(param_1 + 1) == '\0') {
    FUN_001ac450(param_1,8);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);
}


PUSH EBX
CALL 0x00035680
ADD EBX,0x2b062a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX + 0x4],0x0
LEA EDX,[EBX + 0xffff46c4]
MOV dword ptr [EAX],EDX
JNZ 0x0008ea01
SUB ESP,0x8
PUSH 0x8
PUSH EAX
CALL 0x001ac450
ADD ESP,0x18
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff144e8]
PUSH EAX
LEA EAX,[EBX + 0xfff144c3]
PUSH 0x32
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0008e9d0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}\n\n" comment (function_definition "void FUN_0008e9d0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}" primitive_type (function_declarator "FUN_0008e9d0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}" { (expression_statement "*param_1 = &PTR_FUN_003336c4;" (assignment_expression "*param_1 = &PTR_FUN_003336c4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003336c4" & identifier)) ;) (if_statement "if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" ( (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_001ac450(param_1,8);\n    return;\n  }" { (expression_statement "FUN_001ac450(param_1,8);" (call_expression "FUN_001ac450(param_1,8)" identifier (argument_list "(param_1,8)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);" (call_expression "FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1)" identifier (argument_list "("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1)" ( (string_literal ""../../gold/gold-threads.cc"" " string_content ") , number_literal , (string_literal ""~Lock_impl_nothreads"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void ~Lock_impl_nothreads(Lock_impl_nothreads * this, int __in_chrg) */\n\nvoid __thiscall\ngold::Lock_impl_nothreads::~Lock_impl_nothreads(Lock_impl_nothreads *this,int __in_chrg)\n\n{\n  bool bVar1;\n  \n  bVar1 = this->acquired_;\n  (this->super_Lock_impl)._vptr_Lock_impl = (_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4\n  ;\n  if (bVar1 == false) {\n    operator_delete(this,8);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Lock_impl_nothreads::~Lock_impl_nothreads(Lock_impl_nothreads *this,int __in_chrg)\n\n{\n  bool bVar1;\n  \n  bVar1 = this->acquired_;\n  (this->super_Lock_impl)._vptr_Lock_impl = (_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4\n  ;\n  if (bVar1 == false) {\n    operator_delete(this,8);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Lock_impl_nothreads::~" identifier : : identifier : : ~) (function_declarator "Lock_impl_nothreads(Lock_impl_nothreads *this,int __in_chrg)" identifier (parameter_list "(Lock_impl_nothreads *this,int __in_chrg)" ( (parameter_declaration "Lock_impl_nothreads *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = this->acquired_;\n  (this->super_Lock_impl)._vptr_Lock_impl = (_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4\n  ;\n  if (bVar1 == false) {\n    operator_delete(this,8);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads");\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = this->acquired_;" (assignment_expression "bVar1 = this->acquired_" identifier = (field_expression "this->acquired_" identifier -> field_identifier)) ;) (expression_statement "(this->super_Lock_impl)._vptr_Lock_impl = (_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4\n  ;" (assignment_expression "(this->super_Lock_impl)._vptr_Lock_impl = (_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4" (field_expression "(this->super_Lock_impl)._vptr_Lock_impl" (parenthesized_expression "(this->super_Lock_impl)" ( (field_expression "this->super_Lock_impl" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Lock_impl_nothreads_003336c4" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Lock_impl_nothreads_003336c4" & identifier))) ;) (if_statement "if (bVar1 == false) {\n    operator_delete(this,8);\n    return;\n  }" if (parenthesized_expression "(bVar1 == false)" ( (binary_expression "bVar1 == false" identifier == false) )) (compound_statement "{\n    operator_delete(this,8);\n    return;\n  }" { (expression_statement "operator_delete(this,8);" (call_expression "operator_delete(this,8)" identifier (argument_list "(this,8)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads");" (call_expression "do_gold_unreachable("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads")" identifier (argument_list "("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads")" ( (string_literal ""../../gold/gold-threads.cc"" " string_content ") , number_literal , (string_literal ""~Lock_impl_nothreads"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0008e9d0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}\n\n" (function_definition "void FUN_0008e9d0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}" primitive_type (function_declarator "FUN_0008e9d0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}" { (expression_statement "*param_1 = &PTR_FUN_003336c4;" (assignment_expression "*param_1 = &PTR_FUN_003336c4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003336c4" & identifier)) ;) (if_statement "if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" ( (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_001ac450(param_1,8);\n    return;\n  }" { (expression_statement "FUN_001ac450(param_1,8);" (call_expression "FUN_001ac450(param_1,8)" identifier (argument_list "(param_1,8)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);" (call_expression "FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1)" identifier (argument_list "("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1)" ( (string_literal ""../../gold/gold-threads.cc"" " string_content ") , number_literal , (string_literal ""~Lock_impl_nothreads"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_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) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0008e9d0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}" (primitive_type "void") (function_declarator "FUN_0008e9d0(undefined4 *param_1)" (identifier "FUN_0008e9d0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_003336c4;\n  if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_003336c4;" (assignment_expression "*param_1 = &PTR_FUN_003336c4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_003336c4" (& "&") (identifier "PTR_FUN_003336c4"))) (; ";")) (if_statement "if (*(char *)(param_1 + 1) == '\0') {\n    FUN_001ac450(param_1,8);\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_001ac450(param_1,8);\n    return;\n  }" ({ "{") (expression_statement "FUN_001ac450(param_1,8);" (call_expression "FUN_001ac450(param_1,8)" (identifier "FUN_001ac450") (argument_list "(param_1,8)" (( "(") (identifier "param_1") (, ",") (number_literal "8") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);" (call_expression "FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1)" (identifier "FUN_0008b620") (argument_list "("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1)" (( "(") (string_literal ""../../gold/gold-threads.cc"" (" """) (string_content "../../gold/gold-threads.cc") (" """)) (, ",") (number_literal "0x32") (, ",") (string_literal ""~Lock_impl_nothreads"" (" """) (string_content "~Lock_impl_nothreads") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~Lock_impl_nothreads(Lock_impl_nothreads * this, int __in_chrg) */

void __thiscall
gold::function_1::~function_1(function_1 *this,int __in_chrg)

{
  bool var_1;
  
  var_1 = this->acquired_;
  (this->super_Lock_impl)._vptr_Lock_impl = (type_1 **)&PTR__Lock_impl_nothreads_003336c4
  ;
  if (var_1 == false) {
    var_2(this,8);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (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(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_003336c4;
  if (*(char *)(param_1 + 1) == '\0') {
    FUN_001ac450(param_1,8);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/gold-threads.cc",0x32,"~Lock_impl_nothreads",param_1);
}

