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

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

{
  Task_token *pTVar1;
  pointer pcVar2;
  
  (this->super_Task)._vptr_Task = (_func_int_varargs **)&PTR__Unblock_token_00384d70;
  pTVar1 = this->this_blocker_;
  if (pTVar1 != (Task_token *)0x0) {
    if (pTVar1->blockers_ != 0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/token.h",100,"~Task_token");
    }
    if (pTVar1->writer_ != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");
    }
    if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");
    }
    operator_delete(pTVar1,0x14);
  }
  (this->super_Task)._vptr_Task = (_func_int_varargs **)&DAT_003893a4;
  pcVar2 = (this->super_Task).name_._M_dataplus._M_p;
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)pcVar2 != &(this->super_Task).name_.field_2) {
    operator_delete(pcVar2);
  }
  operator_delete(this,0x2c);
  return;
}



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

void FUN_00143da0(undefined4 *param_1)

{
  int iVar1;
  undefined4 in_ECX;
  
  *param_1 = &PTR_FUN_00384d70;
  iVar1 = param_1[9];
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 4) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);
    }
    if (*(int *)(iVar1 + 8) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);
    }
    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);
    }
    FUN_001e6d90(iVar1,0x14);
  }
  *param_1 = &DAT_003893a4;
  if ((undefined4 *)param_1[2] != param_1 + 4) {
    FUN_001e6db0((undefined4 *)param_1[2]);
  }
  FUN_001e6d90(param_1,0x2c);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x24b259
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xffff5d70]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESI + 0x24]
TEST EAX,EAX
JZ 0x00143ded
MOV EDX,dword ptr [EAX + 0x4]
TEST EDX,EDX
JNZ 0x00143e48
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JNZ 0x00143e32
MOV ECX,dword ptr [EAX + 0xc]
TEST ECX,ECX
JNZ 0x00143e1c
MOV EDX,dword ptr [EAX + 0x10]
TEST EDX,EDX
JNZ 0x00143e1c
SUB ESP,0x8
PUSH 0x14
PUSH EAX
CALL 0x001e6d90
ADD ESP,0x10
LEA EAX,[EBX + 0xffffa3a4]
LEA EDX,[ESI + 0x10]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESI + 0x8]
CMP EAX,EDX
JZ 0x00143e0b
SUB ESP,0xc
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x2c
PUSH ESI
CALL 0x001e6d90
ADD ESP,0x14
POP EBX
POP ESI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff06f88]
PUSH EAX
LEA EAX,[EBX + 0xffef15bd]
PUSH 0x2c
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xfff06f94]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffef15bd]
PUSH 0x65
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xfff06f94]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xffef15bd]
PUSH 0x64
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00143da0(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}\n\n" comment (function_definition "void FUN_00143da0(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}" primitive_type (function_declarator "FUN_00143da0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (expression_statement "*param_1 = &PTR_FUN_00384d70;" (assignment_expression "*param_1 = &PTR_FUN_00384d70" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00384d70" & identifier)) ;) (expression_statement "iVar1 = param_1[9];" (assignment_expression "iVar1 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }" { (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);" (call_expression "FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX)" identifier (argument_list "("../../gold/token.h",100,"~Task_token",in_ECX)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(iVar1 + 8) != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 8) != 0)" ( (binary_expression "*(int *)(iVar1 + 8) != 0" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);" (call_expression "FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1)" identifier (argument_list "("../../gold/token.h",0x65,"~Task_token",param_1)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }" if (parenthesized_expression "((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0))" ( (binary_expression "(*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)" (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(int *)(iVar1 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x10) != 0" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);" (call_expression "FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1)" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list",iVar1)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_001e6d90(iVar1,0x14);" (call_expression "FUN_001e6d90(iVar1,0x14)" identifier (argument_list "(iVar1,0x14)" ( identifier , number_literal ))) ;) })) (expression_statement "*param_1 = &DAT_003893a4;" (assignment_expression "*param_1 = &DAT_003893a4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003893a4" & identifier)) ;) (if_statement "if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }" if (parenthesized_expression "((undefined4 *)param_1[2] != param_1 + 4)" ( (binary_expression "(undefined4 *)param_1[2] != param_1 + 4" (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) != (binary_expression "param_1 + 4" identifier + number_literal)) )) (compound_statement "{\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }" { (expression_statement "FUN_001e6db0((undefined4 *)param_1[2]);" (call_expression "FUN_001e6db0((undefined4 *)param_1[2])" identifier (argument_list "((undefined4 *)param_1[2])" ( (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) })) (expression_statement "FUN_001e6d90(param_1,0x2c);" (call_expression "FUN_001e6d90(param_1,0x2c)" identifier (argument_list "(param_1,0x2c)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void ~Unblock_token(Unblock_token * this, int __in_chrg) */\n\nvoid __thiscall gold::Unblock_token::~Unblock_token(Unblock_token *this,int __in_chrg)\n\n{\n  Task_token *pTVar1;\n  pointer pcVar2;\n  \n  (this->super_Task)._vptr_Task = (_func_int_varargs **)&PTR__Unblock_token_00384d70;\n  pTVar1 = this->this_blocker_;\n  if (pTVar1 != (Task_token *)0x0) {\n    if (pTVar1->blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }\n    if (pTVar1->writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }\n    if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }\n    operator_delete(pTVar1,0x14);\n  }\n  (this->super_Task)._vptr_Task = (_func_int_varargs **)&DAT_003893a4;\n  pcVar2 = (this->super_Task).name_._M_dataplus._M_p;\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2) {\n    operator_delete(pcVar2);\n  }\n  operator_delete(this,0x2c);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Unblock_token::~Unblock_token(Unblock_token *this,int __in_chrg)\n\n{\n  Task_token *pTVar1;\n  pointer pcVar2;\n  \n  (this->super_Task)._vptr_Task = (_func_int_varargs **)&PTR__Unblock_token_00384d70;\n  pTVar1 = this->this_blocker_;\n  if (pTVar1 != (Task_token *)0x0) {\n    if (pTVar1->blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }\n    if (pTVar1->writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }\n    if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }\n    operator_delete(pTVar1,0x14);\n  }\n  (this->super_Task)._vptr_Task = (_func_int_varargs **)&DAT_003893a4;\n  pcVar2 = (this->super_Task).name_._M_dataplus._M_p;\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2) {\n    operator_delete(pcVar2);\n  }\n  operator_delete(this,0x2c);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Unblock_token::~" identifier : : identifier : : ~) (function_declarator "Unblock_token(Unblock_token *this,int __in_chrg)" identifier (parameter_list "(Unblock_token *this,int __in_chrg)" ( (parameter_declaration "Unblock_token *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  Task_token *pTVar1;\n  pointer pcVar2;\n  \n  (this->super_Task)._vptr_Task = (_func_int_varargs **)&PTR__Unblock_token_00384d70;\n  pTVar1 = this->this_blocker_;\n  if (pTVar1 != (Task_token *)0x0) {\n    if (pTVar1->blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }\n    if (pTVar1->writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }\n    if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }\n    operator_delete(pTVar1,0x14);\n  }\n  (this->super_Task)._vptr_Task = (_func_int_varargs **)&DAT_003893a4;\n  pcVar2 = (this->super_Task).name_._M_dataplus._M_p;\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2) {\n    operator_delete(pcVar2);\n  }\n  operator_delete(this,0x2c);\n  return;\n}" { (declaration "Task_token *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "pointer pcVar2;" type_identifier identifier ;) (expression_statement "(this->super_Task)._vptr_Task = (_func_int_varargs **)&PTR__Unblock_token_00384d70;" (assignment_expression "(this->super_Task)._vptr_Task = (_func_int_varargs **)&PTR__Unblock_token_00384d70" (field_expression "(this->super_Task)._vptr_Task" (parenthesized_expression "(this->super_Task)" ( (field_expression "this->super_Task" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Unblock_token_00384d70" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Unblock_token_00384d70" & identifier))) ;) (expression_statement "pTVar1 = this->this_blocker_;" (assignment_expression "pTVar1 = this->this_blocker_" identifier = (field_expression "this->this_blocker_" identifier -> field_identifier)) ;) (if_statement "if (pTVar1 != (Task_token *)0x0) {\n    if (pTVar1->blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }\n    if (pTVar1->writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }\n    if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }\n    operator_delete(pTVar1,0x14);\n  }" if (parenthesized_expression "(pTVar1 != (Task_token *)0x0)" ( (binary_expression "pTVar1 != (Task_token *)0x0" identifier != (cast_expression "(Task_token *)0x0" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pTVar1->blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }\n    if (pTVar1->writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }\n    if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }\n    operator_delete(pTVar1,0x14);\n  }" { (if_statement "if (pTVar1->blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }" if (parenthesized_expression "(pTVar1->blockers_ != 0)" ( (binary_expression "pTVar1->blockers_ != 0" (field_expression "pTVar1->blockers_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",100,"~Task_token");" (call_expression "do_gold_unreachable("../../gold/token.h",100,"~Task_token")" identifier (argument_list "("../../gold/token.h",100,"~Task_token")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") ))) ;) })) (if_statement "if (pTVar1->writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }" if (parenthesized_expression "(pTVar1->writer_ != (Task *)0x0)" ( (binary_expression "pTVar1->writer_ != (Task *)0x0" (field_expression "pTVar1->writer_" identifier -> field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");" (call_expression "do_gold_unreachable("../../gold/token.h",0x65,"~Task_token")" identifier (argument_list "("../../gold/token.h",0x65,"~Task_token")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") ))) ;) })) (if_statement "if (((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }" if (parenthesized_expression "(((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0))" ( (binary_expression "((pTVar1->waiting_).head_ != (Task *)0x0) || ((pTVar1->waiting_).tail_ != (Task *)0x0)" (parenthesized_expression "((pTVar1->waiting_).head_ != (Task *)0x0)" ( (binary_expression "(pTVar1->waiting_).head_ != (Task *)0x0" (field_expression "(pTVar1->waiting_).head_" (parenthesized_expression "(pTVar1->waiting_)" ( (field_expression "pTVar1->waiting_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((pTVar1->waiting_).tail_ != (Task *)0x0)" ( (binary_expression "(pTVar1->waiting_).tail_ != (Task *)0x0" (field_expression "(pTVar1->waiting_).tail_" (parenthesized_expression "(pTVar1->waiting_)" ( (field_expression "pTVar1->waiting_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");" (call_expression "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })) (expression_statement "operator_delete(pTVar1,0x14);" (call_expression "operator_delete(pTVar1,0x14)" identifier (argument_list "(pTVar1,0x14)" ( identifier , number_literal ))) ;) })) (expression_statement "(this->super_Task)._vptr_Task = (_func_int_varargs **)&DAT_003893a4;" (assignment_expression "(this->super_Task)._vptr_Task = (_func_int_varargs **)&DAT_003893a4" (field_expression "(this->super_Task)._vptr_Task" (parenthesized_expression "(this->super_Task)" ( (field_expression "this->super_Task" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)&DAT_003893a4" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_003893a4" & identifier))) ;) (expression_statement "pcVar2 = (this->super_Task).name_._M_dataplus._M_p;" (assignment_expression "pcVar2 = (this->super_Task).name_._M_dataplus._M_p" identifier = (field_expression "(this->super_Task).name_._M_dataplus._M_p" (field_expression "(this->super_Task).name_._M_dataplus" (field_expression "(this->super_Task).name_" (parenthesized_expression "(this->super_Task)" ( (field_expression "this->super_Task" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2) {\n    operator_delete(pcVar2);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)pcVar2 != &(this->super_Task).name_.field_2" (binary_expression "allocator<char>_>_9\n       *)pcVar2" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)pcVar2" identifier * (ERROR ")" )) identifier)) != (pointer_expression "&(this->super_Task).name_.field_2" & (field_expression "(this->super_Task).name_.field_2" (field_expression "(this->super_Task).name_" (parenthesized_expression "(this->super_Task)" ( (field_expression "this->super_Task" identifier -> field_identifier) )) . field_identifier) . field_identifier))) )) )) (compound_statement "{\n    operator_delete(pcVar2);\n  }" { (expression_statement "operator_delete(pcVar2);" (call_expression "operator_delete(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) })) (expression_statement "operator_delete(this,0x2c);" (call_expression "operator_delete(this,0x2c)" identifier (argument_list "(this,0x2c)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00143da0(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}\n\n" (function_definition "void FUN_00143da0(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}" primitive_type (function_declarator "FUN_00143da0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (expression_statement "*param_1 = &PTR_FUN_00384d70;" (assignment_expression "*param_1 = &PTR_FUN_00384d70" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00384d70" & identifier)) ;) (expression_statement "iVar1 = param_1[9];" (assignment_expression "iVar1 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }" { (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" ( (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" * (cast_expression "(int *)(iVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }" { (expression_statement "FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);" (call_expression "FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX)" identifier (argument_list "("../../gold/token.h",100,"~Task_token",in_ECX)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }" if (parenthesized_expression "(*(int *)(iVar1 + 8) != 0)" ( (binary_expression "*(int *)(iVar1 + 8) != 0" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }" { (expression_statement "FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);" (call_expression "FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1)" identifier (argument_list "("../../gold/token.h",0x65,"~Task_token",param_1)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }" if (parenthesized_expression "((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0))" ( (binary_expression "(*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)" (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(int *)(iVar1 + 0x10) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x10) != 0" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }" { (expression_statement "FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);" (call_expression "FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1)" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list",iVar1)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_001e6d90(iVar1,0x14);" (call_expression "FUN_001e6d90(iVar1,0x14)" identifier (argument_list "(iVar1,0x14)" ( identifier , number_literal ))) ;) })) (expression_statement "*param_1 = &DAT_003893a4;" (assignment_expression "*param_1 = &DAT_003893a4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003893a4" & identifier)) ;) (if_statement "if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }" if (parenthesized_expression "((undefined4 *)param_1[2] != param_1 + 4)" ( (binary_expression "(undefined4 *)param_1[2] != param_1 + 4" (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) != (binary_expression "param_1 + 4" identifier + number_literal)) )) (compound_statement "{\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }" { (expression_statement "FUN_001e6db0((undefined4 *)param_1[2]);" (call_expression "FUN_001e6db0((undefined4 *)param_1[2])" identifier (argument_list "((undefined4 *)param_1[2])" ( (cast_expression "(undefined4 *)param_1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) })) (expression_statement "FUN_001e6d90(param_1,0x2c);" (call_expression "FUN_001e6d90(param_1,0x2c)" identifier (argument_list "(param_1,0x2c)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00143da0(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00143da0(undefined4 *param_1)" (identifier "FUN_00143da0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 in_ECX;\n  \n  *param_1 = &PTR_FUN_00384d70;\n  iVar1 = param_1[9];\n  if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }\n  *param_1 = &DAT_003893a4;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }\n  FUN_001e6d90(param_1,0x2c);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 in_ECX;" (type_identifier "undefined4") (identifier "in_ECX") (; ";")) (expression_statement "*param_1 = &PTR_FUN_00384d70;" (assignment_expression "*param_1 = &PTR_FUN_00384d70" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00384d70" (& "&") (identifier "PTR_FUN_00384d70"))) (; ";")) (expression_statement "iVar1 = param_1[9];" (assignment_expression "iVar1 = param_1[9]" (identifier "iVar1") (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }\n    if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }\n    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }\n    FUN_001e6d90(iVar1,0x14);\n  }" ({ "{") (if_statement "if (*(int *)(iVar1 + 4) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 4) != 0" (pointer_expression "*(int *)(iVar1 + 4)" (* "*") (cast_expression "(int *)(iVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);" (call_expression "FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX)" (identifier "FUN_00069d00") (argument_list "("../../gold/token.h",100,"~Task_token",in_ECX)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "100") (, ",") (string_literal ""~Task_token"" (" """) (string_content "~Task_token") (" """)) (, ",") (identifier "in_ECX") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 8) != 0) {\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 8) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 8) != 0" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);" (call_expression "FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/token.h",0x65,"~Task_token",param_1)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x65") (, ",") (string_literal ""~Task_token"" (" """) (string_content "~Task_token") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }" (if "if") (parenthesized_expression "((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0))" (( "(") (binary_expression "(*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)" (parenthesized_expression "(*(int *)(iVar1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0xc) != 0" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar1 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) != 0" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);" (call_expression "FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/token.h",0x2c,"~Task_list",iVar1)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x2c") (, ",") (string_literal ""~Task_list"" (" """) (string_content "~Task_list") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001e6d90(iVar1,0x14);" (call_expression "FUN_001e6d90(iVar1,0x14)" (identifier "FUN_001e6d90") (argument_list "(iVar1,0x14)" (( "(") (identifier "iVar1") (, ",") (number_literal "0x14") () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = &DAT_003893a4;" (assignment_expression "*param_1 = &DAT_003893a4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_003893a4" (& "&") (identifier "DAT_003893a4"))) (; ";")) (if_statement "if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }" (if "if") (parenthesized_expression "((undefined4 *)param_1[2] != param_1 + 4)" (( "(") (binary_expression "(undefined4 *)param_1[2] != param_1 + 4" (cast_expression "(undefined4 *)param_1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4"))) () ")")) (compound_statement "{\n    FUN_001e6db0((undefined4 *)param_1[2]);\n  }" ({ "{") (expression_statement "FUN_001e6db0((undefined4 *)param_1[2]);" (call_expression "FUN_001e6db0((undefined4 *)param_1[2])" (identifier "FUN_001e6db0") (argument_list "((undefined4 *)param_1[2])" (( "(") (cast_expression "(undefined4 *)param_1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001e6d90(param_1,0x2c);" (call_expression "FUN_001e6d90(param_1,0x2c)" (identifier "FUN_001e6d90") (argument_list "(param_1,0x2c)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2c") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  type_1 *var_1;
  type_2 var_8;
  
  (this->super_Task)._vptr_Task = (type_3 **)&PTR__Unblock_token_00384d70;
  var_1 = this->this_blocker_;
  if (var_1 != (type_1 *)0x0) {
    if (var_1->blockers_ != 0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/token.h",100,"~Task_token");
    }
    if (var_1->writer_ != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/token.h",0x65,"~Task_token");
    }
    if (((var_1->waiting_).head_ != (type_4 *)0x0) || ((var_1->waiting_).tail_ != (type_4 *)0x0)) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/token.h",0x2c,"~Task_list");
    }
    var_3(var_1,0x14);
  }
  (this->super_Task)._vptr_Task = (type_3 **)&DAT_003893a4;
  var_8 = (this->super_Task).name_._M_dataplus._M_p;
  if ((anon_union_16_2_edb7204a_for_basic_string<var_5,_std::char_traits<var_5>,_std::var_4<var_5>var_6>var_7
       *)var_8 != &(this->super_Task).name_.field_2) {
    var_3(var_8);
  }
  var_3(this,0x2c);
  return;
}


(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 (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (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: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (number_literal))) right: (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: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  int iVar1;
  undefined4 in_ECX;
  
  *param_1 = &PTR_FUN_00384d70;
  iVar1 = param_1[9];
  if (iVar1 != 0) {
    if (*(int *)(iVar1 + 4) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/token.h",100,"~Task_token",in_ECX);
    }
    if (*(int *)(iVar1 + 8) != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/token.h",0x65,"~Task_token",param_1);
    }
    if ((*(int *)(iVar1 + 0xc) != 0) || (*(int *)(iVar1 + 0x10) != 0)) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/token.h",0x2c,"~Task_list",iVar1);
    }
    FUN_001e6d90(iVar1,0x14);
  }
  *param_1 = &DAT_003893a4;
  if ((undefined4 *)param_1[2] != param_1 + 4) {
    FUN_001e6db0((undefined4 *)param_1[2]);
  }
  FUN_001e6d90(param_1,0x2c);
  return;
}

