
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void cleanup(Plugin_manager * this) */

void __thiscall gold::Plugin_manager::cleanup(Plugin_manager *this,EVP_PKEY_CTX *ctx)

{
  Plugin_manager *pPVar1;
  size_t sVar2;
  
  if (this->any_added_ != false) {
    Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);
  }
  pPVar1 = (Plugin_manager *)
           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.
           _M_node.super__List_node_base._M_next;
  (this->current_)._M_node = (_List_node_base *)pPVar1;
  while (pPVar1 != this) {
    sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.
            _M_impl._M_node._M_size;
    if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {
      *(undefined1 *)(sVar2 + 0x38) = 1;
      (**(code **)(sVar2 + 0x30))();
    }
    pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;
    (this->current_)._M_node = (_List_node_base *)pPVar1;
  }
  return;
}



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

void FUN_000efe90(undefined4 *param_1)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (*(char *)((int)param_1 + 0x62) != '\0') {
    FUN_001437e0(PTR_DAT_00301eac);
  }
  puVar1 = (undefined4 *)*param_1;
  param_1[3] = puVar1;
  while (puVar1 != param_1) {
    iVar2 = puVar1[2];
    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {
      *(undefined1 *)(iVar2 + 0x38) = 1;
      (**(code **)(iVar2 + 0x30))();
    }
    puVar1 = *(undefined4 **)param_1[3];
    param_1[3] = puVar1;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x212169
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CMP byte ptr [ESI + 0x62],0x0
JNZ 0x000efee0
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESI + 0xc],EAX
CMP EAX,ESI
JZ 0x000efeda
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EAX + 0x8]
MOV EDX,dword ptr [EAX + 0x30]
TEST EDX,EDX
JZ 0x000efece
CMP byte ptr [EAX + 0x38],0x0
JNZ 0x000efece
MOV byte ptr [EAX + 0x38],0x1
CALL EDX
MOV EAX,dword ptr [ESI + 0xc]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0xc],EAX
CMP EAX,ESI
JNZ 0x000efeb8
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH dword ptr [EBX + 0xfffffeac]
CALL 0x001437e0
ADD ESP,0x10
JMP 0x000efeaa
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000efe90(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000efe90(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000efe90(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x62) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x62) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x62)" * (cast_expression "(char *)((int)param_1 + 0x62)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x62)" ( (binary_expression "(int)param_1 + 0x62" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_001437e0(PTR_DAT_00301eac);\n  }" { (expression_statement "FUN_001437e0(PTR_DAT_00301eac);" (call_expression "FUN_001437e0(PTR_DAT_00301eac)" identifier (argument_list "(PTR_DAT_00301eac)" ( identifier ))) ;) })) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (while_statement "while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }" while (parenthesized_expression "(puVar1 != param_1)" ( (binary_expression "puVar1 != param_1" identifier != identifier) )) (compound_statement "{\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }" { (expression_statement "iVar2 = puVar1[2];" (assignment_expression "iVar2 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }" if (parenthesized_expression "((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0'))" ( (binary_expression "(*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')" (parenthesized_expression "(*(code **)(iVar2 + 0x30) != (code *)0x0)" ( (binary_expression "*(code **)(iVar2 + 0x30) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0x30)" * (cast_expression "(code **)(iVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x38) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x38) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x38)" * (cast_expression "(char *)(iVar2 + 0x38)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }" { (expression_statement "*(undefined1 *)(iVar2 + 0x38) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + 0x38) = 1" (pointer_expression "*(undefined1 *)(iVar2 + 0x38)" * (cast_expression "(undefined1 *)(iVar2 + 0x38)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(iVar2 + 0x30))();" (call_expression "(**(code **)(iVar2 + 0x30))()" (parenthesized_expression "(**(code **)(iVar2 + 0x30))" ( (pointer_expression "**(code **)(iVar2 + 0x30)" * (pointer_expression "*(code **)(iVar2 + 0x30)" * (cast_expression "(code **)(iVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = *(undefined4 **)param_1[3];" (assignment_expression "puVar1 = *(undefined4 **)param_1[3]" identifier = (pointer_expression "*(undefined4 **)param_1[3]" * (cast_expression "(undefined4 **)param_1[3]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[3]" identifier [ number_literal ])))) ;) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void cleanup(Plugin_manager * this) */\n\nvoid __thiscall gold::Plugin_manager::cleanup(Plugin_manager *this,EVP_PKEY_CTX *ctx)\n\n{\n  Plugin_manager *pPVar1;\n  size_t sVar2;\n  \n  if (this->any_added_ != false) {\n    Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);\n  }\n  pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node.super__List_node_base._M_next;\n  (this->current_)._M_node = (_List_node_base *)pPVar1;\n  while (pPVar1 != this) {\n    sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size;\n    if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }\n    pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;\n    (this->current_)._M_node = (_List_node_base *)pPVar1;\n  }\n  return;\n}\n\n" comment comment comment comment (function_definition "void __thiscall gold::Plugin_manager::cleanup(Plugin_manager *this,EVP_PKEY_CTX *ctx)\n\n{\n  Plugin_manager *pPVar1;\n  size_t sVar2;\n  \n  if (this->any_added_ != false) {\n    Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);\n  }\n  pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node.super__List_node_base._M_next;\n  (this->current_)._M_node = (_List_node_base *)pPVar1;\n  while (pPVar1 != this) {\n    sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size;\n    if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }\n    pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;\n    (this->current_)._M_node = (_List_node_base *)pPVar1;\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "cleanup(Plugin_manager *this,EVP_PKEY_CTX *ctx)" identifier (parameter_list "(Plugin_manager *this,EVP_PKEY_CTX *ctx)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "EVP_PKEY_CTX *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  Plugin_manager *pPVar1;\n  size_t sVar2;\n  \n  if (this->any_added_ != false) {\n    Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);\n  }\n  pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node.super__List_node_base._M_next;\n  (this->current_)._M_node = (_List_node_base *)pPVar1;\n  while (pPVar1 != this) {\n    sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size;\n    if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }\n    pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;\n    (this->current_)._M_node = (_List_node_base *)pPVar1;\n  }\n  return;\n}" { (declaration "Plugin_manager *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (if_statement "if (this->any_added_ != false) {\n    Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);\n  }" if (parenthesized_expression "(this->any_added_ != false)" ( (binary_expression "this->any_added_ != false" (field_expression "this->any_added_" identifier -> field_identifier) != false) )) (compound_statement "{\n    Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);\n  }" { (labeled_statement "Descriptors::close_all((Descriptors *)PTR_descriptors_00301eac);" statement_identifier : (ERROR ":" :) (expression_statement "close_all((Descriptors *)PTR_descriptors_00301eac);" (call_expression "close_all((Descriptors *)PTR_descriptors_00301eac)" identifier (argument_list "((Descriptors *)PTR_descriptors_00301eac)" ( (cast_expression "(Descriptors *)PTR_descriptors_00301eac" ( (type_descriptor "Descriptors *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) })) (expression_statement "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node.super__List_node_base._M_next;" (field_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node.super__List_node_base._M_next" (field_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node.super__List_node_base" (field_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n           _M_node" (field_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl" (binary_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_" (binary_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold" (binary_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold::Plugin*,_std" (assignment_expression "pPVar1 = (Plugin_manager *)\n           (this->plugins_).super__List_base<gold" identifier = (binary_expression "(Plugin_manager *)\n           (this->plugins_).super__List_base<gold" (cast_expression "(Plugin_manager *)\n           (this->plugins_).super__List_base" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(this->plugins_).super__List_base" (parenthesized_expression "(this->plugins_)" ( (field_expression "this->plugins_" identifier -> field_identifier) )) . field_identifier)) < identifier)) (ERROR "::Plugin" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Plugin" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) . field_identifier) . field_identifier) ;) (expression_statement "(this->current_)._M_node = (_List_node_base *)pPVar1;" (assignment_expression "(this->current_)._M_node = (_List_node_base *)pPVar1" (field_expression "(this->current_)._M_node" (parenthesized_expression "(this->current_)" ( (field_expression "this->current_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_List_node_base *)pPVar1" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (pPVar1 != this) {\n    sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size;\n    if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }\n    pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;\n    (this->current_)._M_node = (_List_node_base *)pPVar1;\n  }" while (parenthesized_expression "(pPVar1 != this)" ( (binary_expression "pPVar1 != this" identifier != identifier) )) (compound_statement "{\n    sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size;\n    if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }\n    pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;\n    (this->current_)._M_node = (_List_node_base *)pPVar1;\n  }" { (expression_statement "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size;" (field_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node._M_size" (field_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl._M_node" (field_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>.\n            _M_impl" (binary_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_" (binary_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold" (binary_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold::Plugin*,_std" (assignment_expression "sVar2 = (pPVar1->plugins_).super__List_base<gold" identifier = (binary_expression "(pPVar1->plugins_).super__List_base<gold" (field_expression "(pPVar1->plugins_).super__List_base" (parenthesized_expression "(pPVar1->plugins_)" ( (field_expression "pPVar1->plugins_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Plugin" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Plugin" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) . field_identifier) ;) (if_statement "if ((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }" if (parenthesized_expression "((*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0'))" ( (binary_expression "(*(code **)(sVar2 + 0x30) != (code *)0x0) && (*(char *)(sVar2 + 0x38) == '\0')" (parenthesized_expression "(*(code **)(sVar2 + 0x30) != (code *)0x0)" ( (binary_expression "*(code **)(sVar2 + 0x30) != (code *)0x0" (pointer_expression "*(code **)(sVar2 + 0x30)" * (cast_expression "(code **)(sVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sVar2 + 0x30)" ( (binary_expression "sVar2 + 0x30" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)(sVar2 + 0x38) == '\0')" ( (binary_expression "*(char *)(sVar2 + 0x38) == '\0'" (pointer_expression "*(char *)(sVar2 + 0x38)" * (cast_expression "(char *)(sVar2 + 0x38)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar2 + 0x38)" ( (binary_expression "sVar2 + 0x38" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      *(undefined1 *)(sVar2 + 0x38) = 1;\n      (**(code **)(sVar2 + 0x30))();\n    }" { (expression_statement "*(undefined1 *)(sVar2 + 0x38) = 1;" (assignment_expression "*(undefined1 *)(sVar2 + 0x38) = 1" (pointer_expression "*(undefined1 *)(sVar2 + 0x38)" * (cast_expression "(undefined1 *)(sVar2 + 0x38)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar2 + 0x38)" ( (binary_expression "sVar2 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(sVar2 + 0x30))();" (call_expression "(**(code **)(sVar2 + 0x30))()" (parenthesized_expression "(**(code **)(sVar2 + 0x30))" ( (pointer_expression "**(code **)(sVar2 + 0x30)" * (pointer_expression "*(code **)(sVar2 + 0x30)" * (cast_expression "(code **)(sVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(sVar2 + 0x30)" ( (binary_expression "sVar2 + 0x30" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next;" (assignment_expression "pPVar1 = (Plugin_manager *)((this->current_)._M_node)->_M_next" identifier = (cast_expression "(Plugin_manager *)((this->current_)._M_node)->_M_next" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "((this->current_)._M_node)->_M_next" (parenthesized_expression "((this->current_)._M_node)" ( (field_expression "(this->current_)._M_node" (parenthesized_expression "(this->current_)" ( (field_expression "this->current_" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier))) ;) (expression_statement "(this->current_)._M_node = (_List_node_base *)pPVar1;" (assignment_expression "(this->current_)._M_node = (_List_node_base *)pPVar1" (field_expression "(this->current_)._M_node" (parenthesized_expression "(this->current_)" ( (field_expression "this->current_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_List_node_base *)pPVar1" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000efe90(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000efe90(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000efe90(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x62) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x62) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x62)" * (cast_expression "(char *)((int)param_1 + 0x62)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x62)" ( (binary_expression "(int)param_1 + 0x62" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_001437e0(PTR_DAT_00301eac);\n  }" { (expression_statement "FUN_001437e0(PTR_DAT_00301eac);" (call_expression "FUN_001437e0(PTR_DAT_00301eac)" identifier (argument_list "(PTR_DAT_00301eac)" ( identifier ))) ;) })) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (while_statement "while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }" while (parenthesized_expression "(puVar1 != param_1)" ( (binary_expression "puVar1 != param_1" identifier != identifier) )) (compound_statement "{\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }" { (expression_statement "iVar2 = puVar1[2];" (assignment_expression "iVar2 = puVar1[2]" identifier = (subscript_expression "puVar1[2]" identifier [ number_literal ])) ;) (if_statement "if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }" if (parenthesized_expression "((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0'))" ( (binary_expression "(*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')" (parenthesized_expression "(*(code **)(iVar2 + 0x30) != (code *)0x0)" ( (binary_expression "*(code **)(iVar2 + 0x30) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0x30)" * (cast_expression "(code **)(iVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x38) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x38) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x38)" * (cast_expression "(char *)(iVar2 + 0x38)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }" { (expression_statement "*(undefined1 *)(iVar2 + 0x38) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + 0x38) = 1" (pointer_expression "*(undefined1 *)(iVar2 + 0x38)" * (cast_expression "(undefined1 *)(iVar2 + 0x38)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(**(code **)(iVar2 + 0x30))();" (call_expression "(**(code **)(iVar2 + 0x30))()" (parenthesized_expression "(**(code **)(iVar2 + 0x30))" ( (pointer_expression "**(code **)(iVar2 + 0x30)" * (pointer_expression "*(code **)(iVar2 + 0x30)" * (cast_expression "(code **)(iVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = *(undefined4 **)param_1[3];" (assignment_expression "puVar1 = *(undefined4 **)param_1[3]" identifier = (pointer_expression "*(undefined4 **)param_1[3]" * (cast_expression "(undefined4 **)param_1[3]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[3]" identifier [ number_literal ])))) ;) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000efe90(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000efe90(undefined4 *param_1)" (identifier "FUN_000efe90") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }\n  puVar1 = (undefined4 *)*param_1;\n  param_1[3] = puVar1;\n  while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (*(char *)((int)param_1 + 0x62) != '\0') {\n    FUN_001437e0(PTR_DAT_00301eac);\n  }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x62) != '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x62) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x62)" (* "*") (cast_expression "(char *)((int)param_1 + 0x62)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x62)" (( "(") (binary_expression "(int)param_1 + 0x62" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x62")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_001437e0(PTR_DAT_00301eac);\n  }" ({ "{") (expression_statement "FUN_001437e0(PTR_DAT_00301eac);" (call_expression "FUN_001437e0(PTR_DAT_00301eac)" (identifier "FUN_001437e0") (argument_list "(PTR_DAT_00301eac)" (( "(") (identifier "PTR_DAT_00301eac") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (while_statement "while (puVar1 != param_1) {\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }" (while "while") (parenthesized_expression "(puVar1 != param_1)" (( "(") (binary_expression "puVar1 != param_1" (identifier "puVar1") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n    iVar2 = puVar1[2];\n    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }\n    puVar1 = *(undefined4 **)param_1[3];\n    param_1[3] = puVar1;\n  }" ({ "{") (expression_statement "iVar2 = puVar1[2];" (assignment_expression "iVar2 = puVar1[2]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }" (if "if") (parenthesized_expression "((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0'))" (( "(") (binary_expression "(*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')" (parenthesized_expression "(*(code **)(iVar2 + 0x30) != (code *)0x0)" (( "(") (binary_expression "*(code **)(iVar2 + 0x30) != (code *)0x0" (pointer_expression "*(code **)(iVar2 + 0x30)" (* "*") (cast_expression "(code **)(iVar2 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar2 + 0x38) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x38) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x38)" (* "*") (cast_expression "(char *)(iVar2 + 0x38)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      *(undefined1 *)(iVar2 + 0x38) = 1;\n      (**(code **)(iVar2 + 0x30))();\n    }" ({ "{") (expression_statement "*(undefined1 *)(iVar2 + 0x38) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + 0x38) = 1" (pointer_expression "*(undefined1 *)(iVar2 + 0x38)" (* "*") (cast_expression "(undefined1 *)(iVar2 + 0x38)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "(**(code **)(iVar2 + 0x30))();" (call_expression "(**(code **)(iVar2 + 0x30))()" (parenthesized_expression "(**(code **)(iVar2 + 0x30))" (( "(") (pointer_expression "**(code **)(iVar2 + 0x30)" (* "*") (pointer_expression "*(code **)(iVar2 + 0x30)" (* "*") (cast_expression "(code **)(iVar2 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = *(undefined4 **)param_1[3];" (assignment_expression "puVar1 = *(undefined4 **)param_1[3]" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)param_1[3]" (* "*") (cast_expression "(undefined4 **)param_1[3]" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))))) (; ";")) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void cleanup(Plugin_manager * this) */

void __thiscall var_2::type_1::function_1(type_1 *var_6,type_2 *ctx)

{
  type_1 *var_5;
  size_t var_7;
  
  if (var_6->any_added_ != false) {
    Descriptors::var_1((type_3 *)PTR_descriptors_00301eac);
  }
  var_5 = (type_1 *)
           (var_6->plugins_).super__List_base<var_2::Plugin*,var_3::allocator<var_2::Plugin*>var_4>._M_impl.
           _M_node.super__List_node_base._M_next;
  (var_6->current_)._M_node = (type_4 *)var_5;
  while (var_5 != var_6) {
    var_7 = (var_5->plugins_).super__List_base<var_2::Plugin*,var_3::allocator<var_2::Plugin*>var_4>.
            _M_impl._M_node._M_size;
    if ((*(type_5 **)(var_7 + 0x30) != (type_5 *)0x0) && (*(char *)(var_7 + 0x38) == '\0')) {
      *(type_6 *)(var_7 + 0x38) = 1;
      (**(type_5 **)(var_7 + 0x30))();
    }
    var_5 = (type_1 *)((var_6->current_)._M_node)->_M_next;
    (var_6->current_)._M_node = (type_4 *)var_5;
  }
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (*(char *)((int)param_1 + 0x62) != '\0') {
    FUN_001437e0(PTR_DAT_00301eac);
  }
  puVar1 = (undefined4 *)*param_1;
  param_1[3] = puVar1;
  while (puVar1 != param_1) {
    iVar2 = puVar1[2];
    if ((*(code **)(iVar2 + 0x30) != (code *)0x0) && (*(char *)(iVar2 + 0x38) == '\0')) {
      *(undefined1 *)(iVar2 + 0x38) = 1;
      (**(code **)(iVar2 + 0x30))();
    }
    puVar1 = *(undefined4 **)param_1[3];
    param_1[3] = puVar1;
  }
  return;
}

