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

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

{
  pointer pcVar1;
  Expression *pEVar2;
  
  (this->super_Unary_expression).super_Expression._vptr_Expression =
       (_func_int_varargs **)&PTR__Segment_start_expression_00335fac;
  pcVar1 = (this->segment_name_)._M_dataplus._M_p;
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)pcVar1 != &(this->segment_name_).field_2) {
    operator_delete(pcVar1);
  }
  (this->super_Unary_expression).super_Expression._vptr_Expression =
       (_func_int_varargs **)&DAT_0033bd6c;
  pEVar2 = (this->super_Unary_expression).arg_;
  if (pEVar2 != (Expression *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*pEVar2->_vptr_Expression[1])();
    return;
  }
  return;
}



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

void FUN_00185510(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_00335fac;
  if ((undefined4 *)param_1[2] != param_1 + 4) {
    FUN_001ac470((undefined4 *)param_1[2]);
  }
  *param_1 = &DAT_0033bd6c;
  if ((int *)param_1[1] != (int *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(*(int *)param_1[1] + 4))();
    return;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1b9ae9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EDX,[ESI + 0x10]
LEA EAX,[EBX + 0xffff6fac]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESI + 0x8]
CMP EAX,EDX
JZ 0x00185542
SUB ESP,0xc
PUSH EAX
CALL 0x001ac470
ADD ESP,0x10
LEA EAX,[EBX + 0xffffcd6c]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x00185568
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EDX + 0x4]
ADD ESP,0x4
POP EBX
POP ESI
JMP EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00185510(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00185510(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00185510(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_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00335fac;" (assignment_expression "*param_1 = &PTR_FUN_00335fac" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00335fac" & identifier)) ;) (if_statement "if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((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_001ac470((undefined4 *)param_1[2]);\n  }" { (expression_statement "FUN_001ac470((undefined4 *)param_1[2]);" (call_expression "FUN_001ac470((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 "*param_1 = &DAT_0033bd6c;" (assignment_expression "*param_1 = &DAT_0033bd6c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_0033bd6c" & identifier)) ;) (if_statement "if ((int *)param_1[1] != (int *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }" if (parenthesized_expression "((int *)param_1[1] != (int *)0x0)" ( (binary_expression "(int *)param_1[1] != (int *)0x0" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }" { comment comment (expression_statement "(**(code **)(*(int *)param_1[1] + 4))();" (call_expression "(**(code **)(*(int *)param_1[1] + 4))()" (parenthesized_expression "(**(code **)(*(int *)param_1[1] + 4))" ( (pointer_expression "**(code **)(*(int *)param_1[1] + 4)" * (pointer_expression "*(code **)(*(int *)param_1[1] + 4)" * (cast_expression "(code **)(*(int *)param_1[1] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1[1] + 4)" ( (binary_expression "*(int *)param_1[1] + 4" (pointer_expression "*(int *)param_1[1]" * (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (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 ~Segment_start_expression(Segment_start_expression * this, int\n   __in_chrg) */\n\nvoid __thiscall\ngold::Segment_start_expression::~Segment_start_expression\n          (Segment_start_expression *this,int __in_chrg)\n\n{\n  pointer pcVar1;\n  Expression *pEVar2;\n  \n  (this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&PTR__Segment_start_expression_00335fac;\n  pcVar1 = (this->segment_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       *)pcVar1 != &(this->segment_name_).field_2) {\n    operator_delete(pcVar1);\n  }\n  (this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&DAT_0033bd6c;\n  pEVar2 = (this->super_Unary_expression).arg_;\n  if (pEVar2 != (Expression *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pEVar2->_vptr_Expression[1])();\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Segment_start_expression::~Segment_start_expression\n          (Segment_start_expression *this,int __in_chrg)\n\n{\n  pointer pcVar1;\n  Expression *pEVar2;\n  \n  (this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&PTR__Segment_start_expression_00335fac;\n  pcVar1 = (this->segment_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       *)pcVar1 != &(this->segment_name_).field_2) {\n    operator_delete(pcVar1);\n  }\n  (this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&DAT_0033bd6c;\n  pEVar2 = (this->super_Unary_expression).arg_;\n  if (pEVar2 != (Expression *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pEVar2->_vptr_Expression[1])();\n    return;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Segment_start_expression::~" identifier : : identifier : : ~) (function_declarator "Segment_start_expression\n          (Segment_start_expression *this,int __in_chrg)" identifier (parameter_list "(Segment_start_expression *this,int __in_chrg)" ( (parameter_declaration "Segment_start_expression *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  pointer pcVar1;\n  Expression *pEVar2;\n  \n  (this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&PTR__Segment_start_expression_00335fac;\n  pcVar1 = (this->segment_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       *)pcVar1 != &(this->segment_name_).field_2) {\n    operator_delete(pcVar1);\n  }\n  (this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&DAT_0033bd6c;\n  pEVar2 = (this->super_Unary_expression).arg_;\n  if (pEVar2 != (Expression *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pEVar2->_vptr_Expression[1])();\n    return;\n  }\n  return;\n}" { (declaration "pointer pcVar1;" type_identifier identifier ;) (declaration "Expression *pEVar2;" type_identifier (pointer_declarator "*pEVar2" * identifier) ;) (expression_statement "(this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&PTR__Segment_start_expression_00335fac;" (assignment_expression "(this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&PTR__Segment_start_expression_00335fac" (field_expression "(this->super_Unary_expression).super_Expression._vptr_Expression" (field_expression "(this->super_Unary_expression).super_Expression" (parenthesized_expression "(this->super_Unary_expression)" ( (field_expression "this->super_Unary_expression" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Segment_start_expression_00335fac" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Segment_start_expression_00335fac" & identifier))) ;) (expression_statement "pcVar1 = (this->segment_name_)._M_dataplus._M_p;" (assignment_expression "pcVar1 = (this->segment_name_)._M_dataplus._M_p" identifier = (field_expression "(this->segment_name_)._M_dataplus._M_p" (field_expression "(this->segment_name_)._M_dataplus" (parenthesized_expression "(this->segment_name_)" ( (field_expression "this->segment_name_" 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       *)pcVar1 != &(this->segment_name_).field_2) {\n    operator_delete(pcVar1);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar1 != &(this->segment_name_).field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)pcVar1 != &(this->segment_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       *)pcVar1 != &(this->segment_name_).field_2" (binary_expression "allocator<char>_>_9\n       *)pcVar1" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)pcVar1" identifier * (ERROR ")" )) identifier)) != (pointer_expression "&(this->segment_name_).field_2" & (field_expression "(this->segment_name_).field_2" (parenthesized_expression "(this->segment_name_)" ( (field_expression "this->segment_name_" identifier -> field_identifier) )) . field_identifier))) )) )) (compound_statement "{\n    operator_delete(pcVar1);\n  }" { (expression_statement "operator_delete(pcVar1);" (call_expression "operator_delete(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })) (expression_statement "(this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&DAT_0033bd6c;" (assignment_expression "(this->super_Unary_expression).super_Expression._vptr_Expression =\n       (_func_int_varargs **)&DAT_0033bd6c" (field_expression "(this->super_Unary_expression).super_Expression._vptr_Expression" (field_expression "(this->super_Unary_expression).super_Expression" (parenthesized_expression "(this->super_Unary_expression)" ( (field_expression "this->super_Unary_expression" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)&DAT_0033bd6c" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_0033bd6c" & identifier))) ;) (expression_statement "pEVar2 = (this->super_Unary_expression).arg_;" (assignment_expression "pEVar2 = (this->super_Unary_expression).arg_" identifier = (field_expression "(this->super_Unary_expression).arg_" (parenthesized_expression "(this->super_Unary_expression)" ( (field_expression "this->super_Unary_expression" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pEVar2 != (Expression *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pEVar2->_vptr_Expression[1])();\n    return;\n  }" if (parenthesized_expression "(pEVar2 != (Expression *)0x0)" ( (binary_expression "pEVar2 != (Expression *)0x0" identifier != (cast_expression "(Expression *)0x0" ( (type_descriptor "Expression *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*pEVar2->_vptr_Expression[1])();\n    return;\n  }" { comment comment (expression_statement "(*pEVar2->_vptr_Expression[1])();" (call_expression "(*pEVar2->_vptr_Expression[1])()" (parenthesized_expression "(*pEVar2->_vptr_Expression[1])" ( (pointer_expression "*pEVar2->_vptr_Expression[1]" * (subscript_expression "pEVar2->_vptr_Expression[1]" (field_expression "pEVar2->_vptr_Expression" identifier -> field_identifier) [ number_literal ])) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00185510(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00185510(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00185510(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_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00335fac;" (assignment_expression "*param_1 = &PTR_FUN_00335fac" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00335fac" & identifier)) ;) (if_statement "if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((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_001ac470((undefined4 *)param_1[2]);\n  }" { (expression_statement "FUN_001ac470((undefined4 *)param_1[2]);" (call_expression "FUN_001ac470((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 "*param_1 = &DAT_0033bd6c;" (assignment_expression "*param_1 = &DAT_0033bd6c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_0033bd6c" & identifier)) ;) (if_statement "if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }" if (parenthesized_expression "((int *)param_1[1] != (int *)0x0)" ( (binary_expression "(int *)param_1[1] != (int *)0x0" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }" { (expression_statement "(**(code **)(*(int *)param_1[1] + 4))();" (call_expression "(**(code **)(*(int *)param_1[1] + 4))()" (parenthesized_expression "(**(code **)(*(int *)param_1[1] + 4))" ( (pointer_expression "**(code **)(*(int *)param_1[1] + 4)" * (pointer_expression "*(code **)(*(int *)param_1[1] + 4)" * (cast_expression "(code **)(*(int *)param_1[1] + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1[1] + 4)" ( (binary_expression "*(int *)param_1[1] + 4" (pointer_expression "*(int *)param_1[1]" * (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(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 (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 (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 ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00185510(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00185510(undefined4 *param_1)" (identifier "FUN_00185510") (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_00335fac;\n  if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((undefined4 *)param_1[2]);\n  }\n  *param_1 = &DAT_0033bd6c;\n  if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_00335fac;" (assignment_expression "*param_1 = &PTR_FUN_00335fac" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00335fac" (& "&") (identifier "PTR_FUN_00335fac"))) (; ";")) (if_statement "if ((undefined4 *)param_1[2] != param_1 + 4) {\n    FUN_001ac470((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_001ac470((undefined4 *)param_1[2]);\n  }" ({ "{") (expression_statement "FUN_001ac470((undefined4 *)param_1[2]);" (call_expression "FUN_001ac470((undefined4 *)param_1[2])" (identifier "FUN_001ac470") (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 "*param_1 = &DAT_0033bd6c;" (assignment_expression "*param_1 = &DAT_0033bd6c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_0033bd6c" (& "&") (identifier "DAT_0033bd6c"))) (; ";")) (if_statement "if ((int *)param_1[1] != (int *)0x0) {\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }" (if "if") (parenthesized_expression "((int *)param_1[1] != (int *)0x0)" (( "(") (binary_expression "(int *)param_1[1] != (int *)0x0" (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    (**(code **)(*(int *)param_1[1] + 4))();\n    return;\n  }" ({ "{") (expression_statement "(**(code **)(*(int *)param_1[1] + 4))();" (call_expression "(**(code **)(*(int *)param_1[1] + 4))()" (parenthesized_expression "(**(code **)(*(int *)param_1[1] + 4))" (( "(") (pointer_expression "**(code **)(*(int *)param_1[1] + 4)" (* "*") (pointer_expression "*(code **)(*(int *)param_1[1] + 4)" (* "*") (cast_expression "(code **)(*(int *)param_1[1] + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)param_1[1] + 4)" (( "(") (binary_expression "*(int *)param_1[1] + 4" (pointer_expression "*(int *)param_1[1]" (* "*") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  type_1 var_5;
  type_2 *var_7;
  
  (this->super_Unary_expression).super_Expression._vptr_Expression =
       (type_3 **)&PTR__Segment_start_expression_00335fac;
  var_5 = (this->segment_name_)._M_dataplus._M_p;
  if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
       *)var_5 != &(this->segment_name_).field_2) {
    var_6(var_5);
  }
  (this->super_Unary_expression).super_Expression._vptr_Expression =
       (type_3 **)&DAT_0033bd6c;
  var_7 = (this->super_Unary_expression).arg_;
  if (var_7 != (type_2 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*var_7->_vptr_Expression[1])();
    return;
  }
  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 (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 (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))))))) arguments: (argument_list))) (return_statement))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_00335fac;
  if ((undefined4 *)param_1[2] != param_1 + 4) {
    FUN_001ac470((undefined4 *)param_1[2]);
  }
  *param_1 = &DAT_0033bd6c;
  if ((int *)param_1[1] != (int *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x0018555f. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(*(int *)param_1[1] + 4))();
    return;
  }
  return;
}

