
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void new_undefined_symbol(Plugin_manager * this, Symbol * sym) */

void __thiscall gold::Plugin_manager::new_undefined_symbol(Plugin_manager *this,Symbol *sym)

{
  iterator __position;
  
  if (this->in_replacement_phase_ != false) {
    __position._M_current =
         (this->undefined_symbols_).
         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;
    if (__position._M_current !=
        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>
        ._M_impl._M_end_of_storage) {
      *__position._M_current = sym;
      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.
      _M_impl._M_finish = __position._M_current + 1;
      return;
    }
    std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::
    _M_realloc_insert<gold::Symbol*_const&>(&this->undefined_symbols_,__position,&sym);
  }
  return;
}



void FUN_0013b920(int param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  
  if (*(char *)(param_1 + 0x61) != '\0') {
    puVar1 = *(undefined4 **)(param_1 + 0x58);
    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {
      *puVar1 = param_2;
      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;
      return;
    }
    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);
  }
  return;
}


SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x10]
CMP byte ptr [EAX + 0x61],0x0
JNZ 0x0013b938
ADD ESP,0xc
RET
MOV EDX,dword ptr [EAX + 0x58]
CMP EDX,dword ptr [EAX + 0x5c]
JZ 0x0013b958
MOV ECX,dword ptr [ESP + 0x14]
ADD EDX,0x4
MOV dword ptr [EDX + -0x4],ECX
MOV dword ptr [EAX + 0x58],EDX
ADD ESP,0xc
RET
SUB ESP,0x4
ADD EAX,0x54
LEA ECX,[ESP + 0x18]
PUSH ECX
PUSH EDX
PUSH EAX
CALL 0x0013f900
ADD ESP,0x10
JMP 0x0013b92d
(translation_unit "void FUN_0013b920(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0013b920(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0013b920(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x61) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x61) != '\0'" (pointer_expression "*(char *)(param_1 + 0x61)" * (cast_expression "(char *)(param_1 + 0x61)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x61)" ( (binary_expression "param_1 + 0x61" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }" { (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x58);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x58)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x58)" * (cast_expression "(undefined4 **)(param_1 + 0x58)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x5c))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x5c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x5c)" * (cast_expression "(undefined4 **)(param_1 + 0x5c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) )) (compound_statement "{\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }" { (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x58) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x58) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x58)" * (cast_expression "(undefined4 **)(param_1 + 0x58)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0013f900(param_1 + 0x54,puVar1,&param_2);" (call_expression "FUN_0013f900(param_1 + 0x54,puVar1,&param_2)" identifier (argument_list "(param_1 + 0x54,puVar1,&param_2)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) , identifier , (pointer_expression "&param_2" & identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void new_undefined_symbol(Plugin_manager * this, Symbol * sym) */\n\nvoid __thiscall gold::Plugin_manager::new_undefined_symbol(Plugin_manager *this,Symbol *sym)\n\n{\n  iterator __position;\n  \n  if (this->in_replacement_phase_ != false) {\n    __position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;\n    if (__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage) {\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }\n    std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::\n    _M_realloc_insert<gold::Symbol*_const&>(&this->undefined_symbols_,__position,&sym);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Plugin_manager::new_undefined_symbol(Plugin_manager *this,Symbol *sym)\n\n{\n  iterator __position;\n  \n  if (this->in_replacement_phase_ != false) {\n    __position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;\n    if (__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage) {\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }\n    std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::\n    _M_realloc_insert<gold::Symbol*_const&>(&this->undefined_symbols_,__position,&sym);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "new_undefined_symbol(Plugin_manager *this,Symbol *sym)" identifier (parameter_list "(Plugin_manager *this,Symbol *sym)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *sym" type_identifier (pointer_declarator "*sym" * identifier)) ))) (compound_statement "{\n  iterator __position;\n  \n  if (this->in_replacement_phase_ != false) {\n    __position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;\n    if (__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage) {\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }\n    std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::\n    _M_realloc_insert<gold::Symbol*_const&>(&this->undefined_symbols_,__position,&sym);\n  }\n  return;\n}" { (declaration "iterator __position;" type_identifier identifier ;) (if_statement "if (this->in_replacement_phase_ != false) {\n    __position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;\n    if (__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage) {\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }\n    std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::\n    _M_realloc_insert<gold::Symbol*_const&>(&this->undefined_symbols_,__position,&sym);\n  }" if (parenthesized_expression "(this->in_replacement_phase_ != false)" ( (binary_expression "this->in_replacement_phase_ != false" (field_expression "this->in_replacement_phase_" identifier -> field_identifier) != false) )) (compound_statement "{\n    __position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;\n    if (__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage) {\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }\n    std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::\n    _M_realloc_insert<gold::Symbol*_const&>(&this->undefined_symbols_,__position,&sym);\n  }" { (expression_statement "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish;" (field_expression "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl._M_finish" (field_expression "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>._M_impl" (binary_expression "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold::Symbol*,_std" (assignment_expression "__position._M_current =\n         (this->undefined_symbols_).\n         super__Vector_base<gold" (field_expression "__position._M_current" identifier . field_identifier) = (binary_expression "(this->undefined_symbols_).\n         super__Vector_base<gold" (field_expression "(this->undefined_symbols_).\n         super__Vector_base" (parenthesized_expression "(this->undefined_symbols_)" ( (field_expression "this->undefined_symbols_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage) {\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }" if (parenthesized_expression "(__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage)" ( (field_expression "__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl._M_end_of_storage" (field_expression "__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>\n        ._M_impl" (binary_expression "__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std" (binary_expression "__position._M_current !=\n        (this->undefined_symbols_).super__Vector_base<gold" (field_expression "__position._M_current" identifier . field_identifier) != (binary_expression "(this->undefined_symbols_).super__Vector_base<gold" (field_expression "(this->undefined_symbols_).super__Vector_base" (parenthesized_expression "(this->undefined_symbols_)" ( (field_expression "this->undefined_symbols_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n      *__position._M_current = sym;\n      (this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;\n      return;\n    }" { (expression_statement "*__position._M_current = sym;" (assignment_expression "*__position._M_current = sym" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = identifier) ;) (expression_statement "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1;" (assignment_expression "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish = __position._M_current + 1" (field_expression "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl._M_finish" (field_expression "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n      _M_impl" (binary_expression "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "(this->undefined_symbols_).super__Vector_base<gold::Symbol*,_std" (binary_expression "(this->undefined_symbols_).super__Vector_base<gold" (field_expression "(this->undefined_symbols_).super__Vector_base" (parenthesized_expression "(this->undefined_symbols_)" ( (field_expression "this->undefined_symbols_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (ERROR "std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>::\n    _M_realloc_insert<gold::" (comma_expression "std::vector<gold::Symbol*,_std" identifier (ERROR "::vector<gold::Symbol*" : : (binary_expression "vector<gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Symbol*>_>::\n    _M_realloc_insert<gold" (binary_expression "Symbol*>_>::\n    _M_realloc_insert" (binary_expression "Symbol*>_" identifier * (ERROR ">" >) identifier) > (ERROR "::" : :) identifier) < identifier) : :) (expression_statement "Symbol*_const&>(&this->undefined_symbols_,__position,&sym);" (binary_expression "Symbol*_const&>(&this->undefined_symbols_,__position,&sym)" (binary_expression "Symbol*_const" identifier * identifier) (ERROR "&" &) > (parenthesized_expression "(&this->undefined_symbols_,__position,&sym)" ( (comma_expression "&this->undefined_symbols_,__position,&sym" (pointer_expression "&this->undefined_symbols_" & (field_expression "this->undefined_symbols_" identifier -> field_identifier)) , (comma_expression "__position,&sym" identifier , (pointer_expression "&sym" & identifier))) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0013b920(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0013b920(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0013b920(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x61) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x61) != '\0'" (pointer_expression "*(char *)(param_1 + 0x61)" * (cast_expression "(char *)(param_1 + 0x61)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x61)" ( (binary_expression "param_1 + 0x61" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }" { (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x58);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x58)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x58)" * (cast_expression "(undefined4 **)(param_1 + 0x58)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x5c))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x5c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x5c)" * (cast_expression "(undefined4 **)(param_1 + 0x5c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) )) (compound_statement "{\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }" { (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x58) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x58) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x58)" * (cast_expression "(undefined4 **)(param_1 + 0x58)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0013f900(param_1 + 0x54,puVar1,&param_2);" (call_expression "FUN_0013f900(param_1 + 0x54,puVar1,&param_2)" identifier (argument_list "(param_1 + 0x54,puVar1,&param_2)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) , identifier , (pointer_expression "&param_2" & identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0013b920(int param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0013b920(int param_1,undefined4 param_2)" (identifier "FUN_0013b920") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (*(char *)(param_1 + 0x61) != '\0') {\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x61) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x61) != '\0'" (pointer_expression "*(char *)(param_1 + 0x61)" (* "*") (cast_expression "(char *)(param_1 + 0x61)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x61)" (( "(") (binary_expression "param_1 + 0x61" (identifier "param_1") (+ "+") (number_literal "0x61")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    puVar1 = *(undefined4 **)(param_1 + 0x58);\n    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }\n    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);\n  }" ({ "{") (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x58);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x58)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x58)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x58)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }" (if "if") (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x5c))" (( "(") (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x5c)" (identifier "puVar1") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")"))))) () ")")) (compound_statement "{\n      *puVar1 = param_2;\n      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;\n      return;\n    }" ({ "{") (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x58) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x58) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x58)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x58)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0013f900(param_1 + 0x54,puVar1,&param_2);" (call_expression "FUN_0013f900(param_1 + 0x54,puVar1,&param_2)" (identifier "FUN_0013f900") (argument_list "(param_1 + 0x54,puVar1,&param_2)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) (, ",") (identifier "puVar1") (, ",") (pointer_expression "&param_2" (& "&") (identifier "param_2")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void new_undefined_symbol(Plugin_manager * this, Symbol * sym) */

void __thiscall var_1::type_1::function_1(type_1 *this,type_2 *sym)

{
  type_3 __position;
  
  if (this->in_replacement_phase_ != false) {
    __position._M_current =
         (this->undefined_symbols_).
         super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>._M_impl._M_finish;
    if (__position._M_current !=
        (this->undefined_symbols_).super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>
        ._M_impl._M_end_of_storage) {
      *__position._M_current = sym;
      (this->undefined_symbols_).super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>.
      _M_impl._M_finish = __position._M_current + 1;
      return;
    }
    std::vector<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>::
    _M_realloc_insert<var_1::type_2*var_4&>(&this->undefined_symbols_,__position,&sym);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator 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: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (pointer_expression argument: (identifier))))))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  
  if (*(char *)(param_1 + 0x61) != '\0') {
    puVar1 = *(undefined4 **)(param_1 + 0x58);
    if (puVar1 != *(undefined4 **)(param_1 + 0x5c)) {
      *puVar1 = param_2;
      *(undefined4 **)(param_1 + 0x58) = puVar1 + 1;
      return;
    }
    FUN_0013f900(param_1 + 0x54,puVar1,&param_2);
  }
  return;
}

