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

void __thiscall
anon_unknown.dwarf_32964f::Target_x86_64_nacl<32>::~Target_x86_64_nacl
          (Target_x86_64_nacl<32> *this,int __in_chrg)

{
  char *pcVar1;
  void *pvVar2;
  
  (this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234;
  pcVar1 = (this->x86_64_nacl_info).attributes_section;
  if (pcVar1 != (char *)0x0) {
    operator_delete(pcVar1);
  }
  pvVar2 = *(void **)&(this->x86_64_nacl_info).rosegment_gap;
  if (pvVar2 != (void *)0x0) {
    operator_delete(pvVar2);
  }
  operator_delete(this,0x74);
  return;
}



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

void FUN_0005cb60(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_00339234;
  if (param_1[0x14] != 0) {
    FUN_001ac470(param_1[0x14]);
  }
  if (param_1[0xd] != 0) {
    FUN_001ac470(param_1[0xd]);
  }
  FUN_001ac450(param_1,0x74);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x2e2499
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xffffa234]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESI + 0x50]
TEST EAX,EAX
JZ 0x0005cb8f
SUB ESP,0xc
PUSH EAX
CALL 0x001ac470
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x34]
TEST EAX,EAX
JZ 0x0005cba2
SUB ESP,0xc
PUSH EAX
CALL 0x001ac470
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x74
PUSH ESI
CALL 0x001ac450
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005cb60(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}\n\n" comment (function_definition "void FUN_0005cb60(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}" primitive_type (function_declarator "FUN_0005cb60(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_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00339234;" (assignment_expression "*param_1 = &PTR_FUN_00339234" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00339234" & identifier)) ;) (if_statement "if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }" if (parenthesized_expression "(param_1[0x14] != 0)" ( (binary_expression "param_1[0x14] != 0" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001ac470(param_1[0x14]);\n  }" { (expression_statement "FUN_001ac470(param_1[0x14]);" (call_expression "FUN_001ac470(param_1[0x14])" identifier (argument_list "(param_1[0x14])" ( (subscript_expression "param_1[0x14]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }" if (parenthesized_expression "(param_1[0xd] != 0)" ( (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001ac470(param_1[0xd]);\n  }" { (expression_statement "FUN_001ac470(param_1[0xd]);" (call_expression "FUN_001ac470(param_1[0xd])" identifier (argument_list "(param_1[0xd])" ( (subscript_expression "param_1[0xd]" identifier [ number_literal ]) ))) ;) })) (expression_statement "FUN_001ac450(param_1,0x74);" (call_expression "FUN_001ac450(param_1,0x74)" identifier (argument_list "(param_1,0x74)" ( 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 ~Target_x86_64_nacl(Target_x86_64_nacl<32> * this, int __in_chrg)\n    */\n\nvoid __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<32>::~Target_x86_64_nacl\n          (Target_x86_64_nacl<32> *this,int __in_chrg)\n\n{\n  char *pcVar1;\n  void *pvVar2;\n  \n  (this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234;\n  pcVar1 = (this->x86_64_nacl_info).attributes_section;\n  if (pcVar1 != (char *)0x0) {\n    operator_delete(pcVar1);\n  }\n  pvVar2 = *(void **)&(this->x86_64_nacl_info).rosegment_gap;\n  if (pvVar2 != (void *)0x0) {\n    operator_delete(pvVar2);\n  }\n  operator_delete(this,0x74);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_32964f::Target_x86_64_nacl<32>::~Target_x86_64_nacl\n          (Target_x86_64_nacl<32> *this,int __in_chrg)\n\n{\n  char *pcVar1;\n  void *pvVar2;\n  \n  (this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234;\n  pcVar1 = (this->x86_64_nacl_info).attributes_section;\n  if (pcVar1 != (char *)0x0) {\n    operator_delete(pcVar1);\n  }\n  pvVar2 = *(void **)&(this->x86_64_nacl_info).rosegment_gap;\n  if (pvVar2 != (void *)0x0) {\n    operator_delete(pvVar2);\n  }\n  operator_delete(this,0x74);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_32964f::Target_x86_64_nacl<32>::~" identifier . identifier : : identifier < number_literal > : : ~) (function_declarator "Target_x86_64_nacl\n          (Target_x86_64_nacl<32> *this,int __in_chrg)" identifier (parameter_list "(Target_x86_64_nacl<32> *this,int __in_chrg)" ( (parameter_declaration "Target_x86_64_nacl<32> *this" type_identifier (ERROR "<32>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  void *pvVar2;\n  \n  (this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234;\n  pcVar1 = (this->x86_64_nacl_info).attributes_section;\n  if (pcVar1 != (char *)0x0) {\n    operator_delete(pcVar1);\n  }\n  pvVar2 = *(void **)&(this->x86_64_nacl_info).rosegment_gap;\n  if (pvVar2 != (void *)0x0) {\n    operator_delete(pvVar2);\n  }\n  operator_delete(this,0x74);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (expression_statement "(this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234;" (assignment_expression "(this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234" (field_expression "(this->x86_64_nacl_info).size" (parenthesized_expression "(this->x86_64_nacl_info)" ( (field_expression "this->x86_64_nacl_info" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(int)&PTR__Target_x86_64_00339234" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&PTR__Target_x86_64_00339234" & identifier))) ;) (expression_statement "pcVar1 = (this->x86_64_nacl_info).attributes_section;" (assignment_expression "pcVar1 = (this->x86_64_nacl_info).attributes_section" identifier = (field_expression "(this->x86_64_nacl_info).attributes_section" (parenthesized_expression "(this->x86_64_nacl_info)" ( (field_expression "this->x86_64_nacl_info" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    operator_delete(pcVar1);\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    operator_delete(pcVar1);\n  }" { (expression_statement "operator_delete(pcVar1);" (call_expression "operator_delete(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })) (expression_statement "pvVar2 = *(void **)&(this->x86_64_nacl_info).rosegment_gap;" (assignment_expression "pvVar2 = *(void **)&(this->x86_64_nacl_info).rosegment_gap" identifier = (pointer_expression "*(void **)&(this->x86_64_nacl_info).rosegment_gap" * (cast_expression "(void **)&(this->x86_64_nacl_info).rosegment_gap" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(this->x86_64_nacl_info).rosegment_gap" & (field_expression "(this->x86_64_nacl_info).rosegment_gap" (parenthesized_expression "(this->x86_64_nacl_info)" ( (field_expression "this->x86_64_nacl_info" identifier -> field_identifier) )) . field_identifier))))) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n    operator_delete(pvVar2);\n  }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    operator_delete(pvVar2);\n  }" { (expression_statement "operator_delete(pvVar2);" (call_expression "operator_delete(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) })) (expression_statement "operator_delete(this,0x74);" (call_expression "operator_delete(this,0x74)" identifier (argument_list "(this,0x74)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005cb60(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}\n\n" (function_definition "void FUN_0005cb60(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}" primitive_type (function_declarator "FUN_0005cb60(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_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00339234;" (assignment_expression "*param_1 = &PTR_FUN_00339234" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00339234" & identifier)) ;) (if_statement "if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }" if (parenthesized_expression "(param_1[0x14] != 0)" ( (binary_expression "param_1[0x14] != 0" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001ac470(param_1[0x14]);\n  }" { (expression_statement "FUN_001ac470(param_1[0x14]);" (call_expression "FUN_001ac470(param_1[0x14])" identifier (argument_list "(param_1[0x14])" ( (subscript_expression "param_1[0x14]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }" if (parenthesized_expression "(param_1[0xd] != 0)" ( (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001ac470(param_1[0xd]);\n  }" { (expression_statement "FUN_001ac470(param_1[0xd]);" (call_expression "FUN_001ac470(param_1[0xd])" identifier (argument_list "(param_1[0xd])" ( (subscript_expression "param_1[0xd]" identifier [ number_literal ]) ))) ;) })) (expression_statement "FUN_001ac450(param_1,0x74);" (call_expression "FUN_001ac450(param_1,0x74)" identifier (argument_list "(param_1,0x74)" ( 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 { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005cb60(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005cb60(undefined4 *param_1)" (identifier "FUN_0005cb60") (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_00339234;\n  if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  FUN_001ac450(param_1,0x74);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_00339234;" (assignment_expression "*param_1 = &PTR_FUN_00339234" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00339234" (& "&") (identifier "PTR_FUN_00339234"))) (; ";")) (if_statement "if (param_1[0x14] != 0) {\n    FUN_001ac470(param_1[0x14]);\n  }" (if "if") (parenthesized_expression "(param_1[0x14] != 0)" (( "(") (binary_expression "param_1[0x14] != 0" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001ac470(param_1[0x14]);\n  }" ({ "{") (expression_statement "FUN_001ac470(param_1[0x14]);" (call_expression "FUN_001ac470(param_1[0x14])" (identifier "FUN_001ac470") (argument_list "(param_1[0x14])" (( "(") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }" (if "if") (parenthesized_expression "(param_1[0xd] != 0)" (( "(") (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001ac470(param_1[0xd]);\n  }" ({ "{") (expression_statement "FUN_001ac470(param_1[0xd]);" (call_expression "FUN_001ac470(param_1[0xd])" (identifier "FUN_001ac470") (argument_list "(param_1[0xd])" (( "(") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001ac450(param_1,0x74);" (call_expression "FUN_001ac450(param_1,0x74)" (identifier "FUN_001ac450") (argument_list "(param_1,0x74)" (( "(") (identifier "param_1") (, ",") (number_literal "0x74") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall
anon_unknown.dwarf_32964f::function_1<32>::~function_1
          (function_1<32> *this,int __in_chrg)

{
  char *var_1;
  void *var_3;
  
  (this->x86_64_nacl_info).size = (int)&PTR__Target_x86_64_00339234;
  var_1 = (this->x86_64_nacl_info).attributes_section;
  if (var_1 != (char *)0x0) {
    var_2(var_1);
  }
  var_3 = *(void **)&(this->x86_64_nacl_info).rosegment_gap;
  if (var_3 != (void *)0x0) {
    var_2(var_3);
  }
  var_2(this,0x74);
  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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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)

{
  *param_1 = &PTR_FUN_00339234;
  if (param_1[0x14] != 0) {
    FUN_001ac470(param_1[0x14]);
  }
  if (param_1[0xd] != 0) {
    FUN_001ac470(param_1[0xd]);
  }
  FUN_001ac450(param_1,0x74);
  return;
}

