
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: ld_plugin_status set_extra_library_path(Plugin_manager * this, char *
   path) */

ld_plugin_status __thiscall
gold::Plugin_manager::set_extra_library_path(Plugin_manager *this,char *path)

{
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *__src;
  size_type sVar1;
  char *pcVar2;
  size_t sVar3;
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *__dest;
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;
  undefined4 uStack_14;
  
  pcVar2 = (char *)0xffffffff;
  uStack_14 = 0x13bdae;
  __src = &local_34.field_2;
  local_34._M_dataplus._M_p = (pointer)__src;
  if (path != (char *)0x0) {
    sVar3 = strlen(path);
    pcVar2 = path + sVar3;
  }
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&local_34,path,pcVar2,0);
  __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
            *)(this->extra_search_path_)._M_dataplus._M_p;
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)local_34._M_dataplus._M_p == __src) {
    if (local_34._M_string_length != 0) {
      if (local_34._M_string_length == 1) {
        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];
        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                  *)(this->extra_search_path_)._M_dataplus._M_p;
      }
      else {
        memcpy(__dest,__src,local_34._M_string_length);
        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                  *)(this->extra_search_path_)._M_dataplus._M_p;
      }
    }
    (this->extra_search_path_)._M_string_length = local_34._M_string_length;
    __dest->_M_local_buf[local_34._M_string_length] = '\0';
  }
  else if (__dest == &(this->extra_search_path_).field_2) {
    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;
    (this->extra_search_path_)._M_string_length = local_34._M_string_length;
    (this->extra_search_path_).field_2._M_allocated_capacity =
         local_34.field_2._M_allocated_capacity;
    local_34._M_dataplus._M_p = (pointer)__src;
  }
  else {
    (this->extra_search_path_)._M_string_length = local_34._M_string_length;
    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;
    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;
    (this->extra_search_path_).field_2._M_allocated_capacity =
         local_34.field_2._M_allocated_capacity;
    local_34._M_dataplus._M_p = (pointer)__src;
    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                   *)0x0) {
      local_34._M_dataplus._M_p = (pointer)__dest;
      local_34.field_2._M_allocated_capacity = sVar1;
    }
  }
  local_34._M_string_length = 0;
  *local_34._M_dataplus._M_p = '\0';
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)local_34._M_dataplus._M_p != &local_34.field_2) {
    operator_delete(local_34._M_dataplus._M_p);
  }
  return LDPS_OK;
}



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

undefined4 FUN_0013bda0(int param_1,char *param_2)

{
  undefined4 uVar1;
  char *pcVar2;
  size_t sVar3;
  undefined4 *__dest;
  undefined4 *local_34;
  size_t local_30;
  undefined4 local_2c [6];
  undefined4 uStack_14;
  
  pcVar2 = (char *)0xffffffff;
  uStack_14 = 0x13bdae;
  local_34 = local_2c;
  if (param_2 != (char *)0x0) {
    sVar3 = strlen(param_2);
    pcVar2 = param_2 + sVar3;
  }
  FUN_00050e40(&local_34,param_2,pcVar2,0);
  __dest = *(undefined4 **)(param_1 + 0x88);
  if (local_34 == local_2c) {
    if (local_30 != 0) {
      if (local_30 == 1) {
        *(undefined1 *)__dest = (undefined1)local_2c[0];
        __dest = *(undefined4 **)(param_1 + 0x88);
      }
      else {
        memcpy(__dest,local_2c,local_30);
        __dest = *(undefined4 **)(param_1 + 0x88);
      }
    }
    *(size_t *)(param_1 + 0x8c) = local_30;
    *(undefined1 *)((int)__dest + local_30) = 0;
  }
  else if (__dest == (undefined4 *)(param_1 + 0x90)) {
    *(undefined4 **)(param_1 + 0x88) = local_34;
    *(size_t *)(param_1 + 0x8c) = local_30;
    *(undefined4 *)(param_1 + 0x90) = local_2c[0];
    local_34 = local_2c;
  }
  else {
    *(size_t *)(param_1 + 0x8c) = local_30;
    uVar1 = *(undefined4 *)(param_1 + 0x90);
    *(undefined4 **)(param_1 + 0x88) = local_34;
    *(undefined4 *)(param_1 + 0x90) = local_2c[0];
    local_34 = local_2c;
    if (__dest != (undefined4 *)0x0) {
      local_34 = __dest;
      local_2c[0] = uVar1;
    }
  }
  local_30 = 0;
  *(undefined1 *)local_34 = 0;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  return 0;
}


PUSH EBP
MOV EAX,0xffffffff
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x253252
SUB ESP,0x3c
MOV EBP,dword ptr [ESP + 0x54]
LEA EDI,[ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0x18],EDI
TEST EBP,EBP
JZ 0x0013bdd9
SUB ESP,0xc
PUSH EBP
CALL 0x000295f0
ADD ESP,0x10
ADD EAX,EBP
PUSH 0x0
PUSH EAX
PUSH EBP
LEA EAX,[ESP + 0x24]
PUSH EAX
CALL 0x00050e40
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESI + 0x88]
ADD ESP,0x10
CMP EDX,EDI
JZ 0x0013be90
MOV EBP,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0xc],EBP
LEA EBP,[ESI + 0x90]
CMP EAX,EBP
JZ 0x0013be68
MOV dword ptr [ESI + 0x8c],ECX
MOV ECX,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [ESI + 0x90]
MOV dword ptr [ESI + 0x88],EDX
MOV dword ptr [ESI + 0x90],ECX
TEST EAX,EAX
JZ 0x0013be7e
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x20],EBP
MOV dword ptr [ESP + 0x1c],0x0
MOV byte ptr [EAX],0x0
MOV EAX,dword ptr [ESP + 0x18]
CMP EAX,EDI
JZ 0x0013be59
SUB ESP,0xc
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
ADD ESP,0x3c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESI + 0x88],EDX
MOV dword ptr [ESI + 0x8c],ECX
MOV dword ptr [ESI + 0x90],EAX
MOV dword ptr [ESP + 0x18],EDI
LEA EDI,[ESP + 0x20]
MOV EAX,EDI
JMP 0x0013be3a
MOV EDX,dword ptr [ESP + 0x1c]
TEST EDX,EDX
JZ 0x0013beb8
CMP EDX,0x1
JZ 0x0013bed0
SUB ESP,0x4
PUSH EDX
PUSH EDI
PUSH EAX
CALL 0x000295c0
MOV EAX,dword ptr [ESI + 0x88]
MOV EDX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
LEA ESI,[ESI]
MOV dword ptr [ESI + 0x8c],EDX
MOV byte ptr [EAX + EDX*0x1],0x0
MOV EAX,dword ptr [ESP + 0x18]
JMP 0x0013be3a
MOVZX EDX,byte ptr [ESP + 0x20]
MOV byte ptr [EAX],DL
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI + 0x88]
JMP 0x0013beb8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0013bda0(int param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0013bda0(int param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0013bda0(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_14 = 0x13bdae;" (assignment_expression "uStack_14 = 0x13bdae" identifier = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }" { (expression_statement "sVar3 = strlen(param_2);" (assignment_expression "sVar3 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar2 = param_2 + sVar3;" (assignment_expression "pcVar2 = param_2 + sVar3" identifier = (binary_expression "param_2 + sVar3" identifier + identifier)) ;) })) (expression_statement "FUN_00050e40(&local_34,param_2,pcVar2,0);" (call_expression "FUN_00050e40(&local_34,param_2,pcVar2,0)" identifier (argument_list "(&local_34,param_2,pcVar2,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }" { (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_2c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_2c[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_2c[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_2c[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" else (compound_statement "{\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" { (expression_statement "memcpy(__dest,local_2c,local_30);" (call_expression "memcpy(__dest,local_2c,local_30)" identifier (argument_list "(__dest,local_2c,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) }))) })) (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" * (cast_expression "(size_t *)(param_1 + 0x8c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_30)" * (cast_expression "(undefined1 *)((int)__dest + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + local_30)" ( (binary_expression "(int)__dest + local_30" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" else (if_statement "if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" if (parenthesized_expression "(__dest == (undefined4 *)(param_1 + 0x90))" ( (binary_expression "__dest == (undefined4 *)(param_1 + 0x90)" identifier == (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) )) (compound_statement "{\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }" { (expression_statement "*(undefined4 **)(param_1 + 0x88) = local_34;" (assignment_expression "*(undefined4 **)(param_1 + 0x88) = local_34" (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" * (cast_expression "(size_t *)(param_1 + 0x8c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x90) = local_2c[0];" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = local_2c[0]" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" else (compound_statement "{\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" { (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" * (cast_expression "(size_t *)(param_1 + 0x8c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x90);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x90)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 0x88) = local_34;" (assignment_expression "*(undefined4 **)(param_1 + 0x88) = local_34" (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x90) = local_2c[0];" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = local_2c[0]" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }" { (expression_statement "local_34 = __dest;" (assignment_expression "local_34 = __dest" identifier = identifier) ;) (expression_statement "local_2c[0] = uVar1;" (assignment_expression "local_2c[0] = uVar1" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = identifier) ;) })) }))))) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" * (cast_expression "(undefined1 *)local_34" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: ld_plugin_status set_extra_library_path(Plugin_manager * this, char *\n   path) */\n\nld_plugin_status __thiscall\ngold::Plugin_manager::set_extra_library_path(Plugin_manager *this,char *path)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__src;\n  size_type sVar1;\n  char *pcVar2;\n  size_t sVar3;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  __src = &local_34.field_2;\n  local_34._M_dataplus._M_p = (pointer)__src;\n  if (path != (char *)0x0) {\n    sVar3 = strlen(path);\n    pcVar2 = path + sVar3;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,path,pcVar2,0);\n  __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus._M_p;\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src) {\n    if (local_34._M_string_length != 0) {\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    __dest->_M_local_buf[local_34._M_string_length] = '\0';\n  }\n  else if (__dest == &(this->extra_search_path_).field_2) {\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }\n  else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }\n  local_34._M_string_length = 0;\n  *local_34._M_dataplus._M_p = '\0';\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2) {\n    operator_delete(local_34._M_dataplus._M_p);\n  }\n  return LDPS_OK;\n}\n\n" comment comment comment (function_definition "ld_plugin_status __thiscall\ngold::Plugin_manager::set_extra_library_path(Plugin_manager *this,char *path)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__src;\n  size_type sVar1;\n  char *pcVar2;\n  size_t sVar3;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  __src = &local_34.field_2;\n  local_34._M_dataplus._M_p = (pointer)__src;\n  if (path != (char *)0x0) {\n    sVar3 = strlen(path);\n    pcVar2 = path + sVar3;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,path,pcVar2,0);\n  __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus._M_p;\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src) {\n    if (local_34._M_string_length != 0) {\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    __dest->_M_local_buf[local_34._M_string_length] = '\0';\n  }\n  else if (__dest == &(this->extra_search_path_).field_2) {\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }\n  else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }\n  local_34._M_string_length = 0;\n  *local_34._M_dataplus._M_p = '\0';\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2) {\n    operator_delete(local_34._M_dataplus._M_p);\n  }\n  return LDPS_OK;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "set_extra_library_path(Plugin_manager *this,char *path)" identifier (parameter_list "(Plugin_manager *this,char *path)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) ))) (compound_statement "{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__src;\n  size_type sVar1;\n  char *pcVar2;\n  size_t sVar3;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  __src = &local_34.field_2;\n  local_34._M_dataplus._M_p = (pointer)__src;\n  if (path != (char *)0x0) {\n    sVar3 = strlen(path);\n    pcVar2 = path + sVar3;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,path,pcVar2,0);\n  __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus._M_p;\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src) {\n    if (local_34._M_string_length != 0) {\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    __dest->_M_local_buf[local_34._M_string_length] = '\0';\n  }\n  else if (__dest == &(this->extra_search_path_).field_2) {\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }\n  else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }\n  local_34._M_string_length = 0;\n  *local_34._M_dataplus._M_p = '\0';\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2) {\n    operator_delete(local_34._M_dataplus._M_p);\n  }\n  return LDPS_OK;\n}" { (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *__src;" (binary_expression "allocator<char>_>_9\n  *__src" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *__src" identifier * identifier)) ;) (declaration "size_type sVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_>_9\n  *__dest;" (binary_expression "allocator<char>_>_9\n  *__dest" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *__dest" identifier * identifier)) ;) (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_> local_34;" (binary_expression "allocator<char>_> local_34" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_14 = 0x13bdae;" (assignment_expression "uStack_14 = 0x13bdae" identifier = number_literal) ;) (expression_statement "__src = &local_34.field_2;" (assignment_expression "__src = &local_34.field_2" identifier = (pointer_expression "&local_34.field_2" & (field_expression "local_34.field_2" identifier . field_identifier))) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)__src;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__src" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__src" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (if_statement "if (path != (char *)0x0) {\n    sVar3 = strlen(path);\n    pcVar2 = path + sVar3;\n  }" if (parenthesized_expression "(path != (char *)0x0)" ( (binary_expression "path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar3 = strlen(path);\n    pcVar2 = path + sVar3;\n  }" { (expression_statement "sVar3 = strlen(path);" (assignment_expression "sVar3 = strlen(path)" identifier = (call_expression "strlen(path)" identifier (argument_list "(path)" ( identifier )))) ;) (expression_statement "pcVar2 = path + sVar3;" (assignment_expression "pcVar2 = path + sVar3" identifier = (binary_expression "path + sVar3" identifier + identifier)) ;) })) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,path,pcVar2,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&local_34,path,pcVar2,0);" (binary_expression "_M_construct<char_const*>(&local_34,path,pcVar2,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_34,path,pcVar2,0)" ( (comma_expression "&local_34,path,pcVar2,0" (pointer_expression "&local_34" & identifier) , (comma_expression "path,pcVar2,0" identifier , (comma_expression "pcVar2,0" identifier , number_literal))) ))) ;)) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus._M_p" (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)._M_dataplus" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(this->extra_search_path_)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src) {\n    if (local_34._M_string_length != 0) {\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    __dest->_M_local_buf[local_34._M_string_length] = '\0';\n  }\n  else if (__dest == &(this->extra_search_path_).field_2) {\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }\n  else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)local_34._M_dataplus._M_p == __src" (binary_expression "allocator<char>_>_9\n       *)local_34._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)local_34._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier))) == identifier) )) )) (compound_statement "{\n    if (local_34._M_string_length != 0) {\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    __dest->_M_local_buf[local_34._M_string_length] = '\0';\n  }" { (if_statement "if (local_34._M_string_length != 0) {\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }" if (parenthesized_expression "(local_34._M_string_length != 0)" ( (binary_expression "local_34._M_string_length != 0" (field_expression "local_34._M_string_length" identifier . field_identifier) != number_literal) )) (compound_statement "{\n      if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n    }" { (if_statement "if (local_34._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }\n      else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }" if (parenthesized_expression "(local_34._M_string_length == 1)" ( (binary_expression "local_34._M_string_length == 1" (field_expression "local_34._M_string_length" identifier . field_identifier) == number_literal) )) (compound_statement "{\n        __dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }" { (expression_statement "__dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0];" (assignment_expression "__dest->_M_local_buf[0] = local_34.field_2._M_local_buf[0]" (subscript_expression "__dest->_M_local_buf[0]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "local_34.field_2._M_local_buf[0]" (field_expression "local_34.field_2._M_local_buf" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier) [ number_literal ])) ;) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p" (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) }) (else_clause "else {\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }" else (compound_statement "{\n        memcpy(__dest,__src,local_34._M_string_length);\n        __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;\n      }" { (expression_statement "memcpy(__dest,__src,local_34._M_string_length);" (call_expression "memcpy(__dest,__src,local_34._M_string_length)" identifier (argument_list "(__dest,__src,local_34._M_string_length)" ( identifier , identifier , (field_expression "local_34._M_string_length" identifier . field_identifier) ))) ;) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus._M_p" (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)._M_dataplus" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)(this->extra_search_path_)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                  *)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) }))) })) (expression_statement "(this->extra_search_path_)._M_string_length = local_34._M_string_length;" (assignment_expression "(this->extra_search_path_)._M_string_length = local_34._M_string_length" (field_expression "(this->extra_search_path_)._M_string_length" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) = (field_expression "local_34._M_string_length" identifier . field_identifier)) ;) (expression_statement "__dest->_M_local_buf[local_34._M_string_length] = '\0';" (assignment_expression "__dest->_M_local_buf[local_34._M_string_length] = '\0'" (subscript_expression "__dest->_M_local_buf[local_34._M_string_length]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ (field_expression "local_34._M_string_length" identifier . field_identifier) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else if (__dest == &(this->extra_search_path_).field_2) {\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }\n  else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }" else (if_statement "if (__dest == &(this->extra_search_path_).field_2) {\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }\n  else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }" if (parenthesized_expression "(__dest == &(this->extra_search_path_).field_2)" ( (binary_expression "__dest == &(this->extra_search_path_).field_2" identifier == (pointer_expression "&(this->extra_search_path_).field_2" & (field_expression "(this->extra_search_path_).field_2" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier))) )) (compound_statement "{\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n  }" { (expression_statement "(this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;" (assignment_expression "(this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p" (field_expression "(this->extra_search_path_)._M_dataplus._M_p" (field_expression "(this->extra_search_path_)._M_dataplus" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "(this->extra_search_path_)._M_string_length = local_34._M_string_length;" (assignment_expression "(this->extra_search_path_)._M_string_length = local_34._M_string_length" (field_expression "(this->extra_search_path_)._M_string_length" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) = (field_expression "local_34._M_string_length" identifier . field_identifier)) ;) (expression_statement "(this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;" (assignment_expression "(this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity" (field_expression "(this->extra_search_path_).field_2._M_allocated_capacity" (field_expression "(this->extra_search_path_).field_2" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34.field_2._M_allocated_capacity" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)__src;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__src" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__src" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) }) (else_clause "else {\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }" else (compound_statement "{\n    (this->extra_search_path_)._M_string_length = local_34._M_string_length;\n    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n    (this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;\n    (this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;\n    local_34._M_dataplus._M_p = (pointer)__src;\n    if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }\n  }" { (expression_statement "(this->extra_search_path_)._M_string_length = local_34._M_string_length;" (assignment_expression "(this->extra_search_path_)._M_string_length = local_34._M_string_length" (field_expression "(this->extra_search_path_)._M_string_length" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) = (field_expression "local_34._M_string_length" identifier . field_identifier)) ;) (expression_statement "sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;" (assignment_expression "sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity" identifier = (field_expression "(this->extra_search_path_).field_2._M_allocated_capacity" (field_expression "(this->extra_search_path_).field_2" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "(this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p;" (assignment_expression "(this->extra_search_path_)._M_dataplus._M_p = local_34._M_dataplus._M_p" (field_expression "(this->extra_search_path_)._M_dataplus._M_p" (field_expression "(this->extra_search_path_)._M_dataplus" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "(this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity;" (assignment_expression "(this->extra_search_path_).field_2._M_allocated_capacity =\n         local_34.field_2._M_allocated_capacity" (field_expression "(this->extra_search_path_).field_2._M_allocated_capacity" (field_expression "(this->extra_search_path_).field_2" (parenthesized_expression "(this->extra_search_path_)" ( (field_expression "this->extra_search_path_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "local_34.field_2._M_allocated_capacity" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)__src;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__src" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__src" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (if_statement "if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0) {\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }" if (parenthesized_expression "(__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0)" ( (binary_expression "__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0)" identifier != (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                   *)0x0)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n                   *)0x0" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n                   *)0x0" identifier * (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n      local_34._M_dataplus._M_p = (pointer)__dest;\n      local_34.field_2._M_allocated_capacity = sVar1;\n    }" { (expression_statement "local_34._M_dataplus._M_p = (pointer)__dest;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)__dest" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__dest" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (expression_statement "local_34.field_2._M_allocated_capacity = sVar1;" (assignment_expression "local_34.field_2._M_allocated_capacity = sVar1" (field_expression "local_34.field_2._M_allocated_capacity" (field_expression "local_34.field_2" identifier . field_identifier) . field_identifier) = identifier) ;) })) }))))) (expression_statement "local_34._M_string_length = 0;" (assignment_expression "local_34._M_string_length = 0" (field_expression "local_34._M_string_length" identifier . field_identifier) = number_literal) ;) (expression_statement "*local_34._M_dataplus._M_p = '\0';" (assignment_expression "*local_34._M_dataplus._M_p = '\0'" (pointer_expression "*local_34._M_dataplus._M_p" * (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier)) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2) {\n    operator_delete(local_34._M_dataplus._M_p);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)local_34._M_dataplus._M_p != &local_34.field_2" (binary_expression "allocator<char>_>_9\n       *)local_34._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)local_34._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_34.field_2" & (field_expression "local_34.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(local_34._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(local_34._M_dataplus._M_p);" (call_expression "operator_delete(local_34._M_dataplus._M_p)" identifier (argument_list "(local_34._M_dataplus._M_p)" ( (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return LDPS_OK;" return identifier ;) })))
(translation_unit "undefined4 FUN_0013bda0(int param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0013bda0(int param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0013bda0(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined4 local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uStack_14 = 0x13bdae;" (assignment_expression "uStack_14 = 0x13bdae" identifier = number_literal) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }" { (expression_statement "sVar3 = strlen(param_2);" (assignment_expression "sVar3 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar2 = param_2 + sVar3;" (assignment_expression "pcVar2 = param_2 + sVar3" identifier = (binary_expression "param_2 + sVar3" identifier + identifier)) ;) })) (expression_statement "FUN_00050e40(&local_34,param_2,pcVar2,0);" (call_expression "FUN_00050e40(&local_34,param_2,pcVar2,0)" identifier (argument_list "(&local_34,param_2,pcVar2,0)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" if (parenthesized_expression "(local_34 == local_2c)" ( (binary_expression "local_34 == local_2c" identifier == identifier) )) (compound_statement "{\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }" { (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_2c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_2c[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_2c[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_2c[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" else (compound_statement "{\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" { (expression_statement "memcpy(__dest,local_2c,local_30);" (call_expression "memcpy(__dest,local_2c,local_30)" identifier (argument_list "(__dest,local_2c,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) }))) })) (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" * (cast_expression "(size_t *)(param_1 + 0x8c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((int)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_30)" * (cast_expression "(undefined1 *)((int)__dest + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + local_30)" ( (binary_expression "(int)__dest + local_30" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) }) (else_clause "else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" else (if_statement "if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" if (parenthesized_expression "(__dest == (undefined4 *)(param_1 + 0x90))" ( (binary_expression "__dest == (undefined4 *)(param_1 + 0x90)" identifier == (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) )) (compound_statement "{\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }" { (expression_statement "*(undefined4 **)(param_1 + 0x88) = local_34;" (assignment_expression "*(undefined4 **)(param_1 + 0x88) = local_34" (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" * (cast_expression "(size_t *)(param_1 + 0x8c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x90) = local_2c[0];" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = local_2c[0]" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) }) (else_clause "else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" else (compound_statement "{\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" { (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" * (cast_expression "(size_t *)(param_1 + 0x8c)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x90);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x90)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_1 + 0x88) = local_34;" (assignment_expression "*(undefined4 **)(param_1 + 0x88) = local_34" (pointer_expression "*(undefined4 **)(param_1 + 0x88)" * (cast_expression "(undefined4 **)(param_1 + 0x88)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x90) = local_2c[0];" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = local_2c[0]" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" * (cast_expression "(undefined4 *)(param_1 + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x90)" ( (binary_expression "param_1 + 0x90" identifier + number_literal) )))) = (subscript_expression "local_2c[0]" identifier [ number_literal ])) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (if_statement "if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }" if (parenthesized_expression "(__dest != (undefined4 *)0x0)" ( (binary_expression "__dest != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }" { (expression_statement "local_34 = __dest;" (assignment_expression "local_34 = __dest" identifier = identifier) ;) (expression_statement "local_2c[0] = uVar1;" (assignment_expression "local_2c[0] = uVar1" (subscript_expression "local_2c[0]" identifier [ number_literal ]) = identifier) ;) })) }))))) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" * (cast_expression "(undefined1 *)local_34" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" { (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , LIT ))) ;) (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 == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) }))))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0013bda0(int param_1,char *param_2)\n\n{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0013bda0(int param_1,char *param_2)" (identifier "FUN_0013bda0") (parameter_list "(int param_1,char *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char *pcVar2;\n  size_t sVar3;\n  undefined4 *__dest;\n  undefined4 *local_34;\n  size_t local_30;\n  undefined4 local_2c [6];\n  undefined4 uStack_14;\n  \n  pcVar2 = (char *)0xffffffff;\n  uStack_14 = 0x13bdae;\n  local_34 = local_2c;\n  if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }\n  FUN_00050e40(&local_34,param_2,pcVar2,0);\n  __dest = *(undefined4 **)(param_1 + 0x88);\n  if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }\n  local_30 = 0;\n  *(undefined1 *)local_34 = 0;\n  if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "undefined4 *__dest;" (type_identifier "undefined4") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "undefined4 *local_34;" (type_identifier "undefined4") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "size_t local_30;" (primitive_type "size_t") (identifier "local_30") (; ";")) (declaration "undefined4 local_2c [6];" (type_identifier "undefined4") (array_declarator "local_2c [6]" (identifier "local_2c") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "pcVar2 = (char *)0xffffffff;" (assignment_expression "pcVar2 = (char *)0xffffffff" (identifier "pcVar2") (= "=") (cast_expression "(char *)0xffffffff" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (expression_statement "uStack_14 = 0x13bdae;" (assignment_expression "uStack_14 = 0x13bdae" (identifier "uStack_14") (= "=") (number_literal "0x13bdae")) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (param_2 != (char *)0x0) {\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }" (if "if") (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar3 = strlen(param_2);\n    pcVar2 = param_2 + sVar3;\n  }" ({ "{") (expression_statement "sVar3 = strlen(param_2);" (assignment_expression "sVar3 = strlen(param_2)" (identifier "sVar3") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pcVar2 = param_2 + sVar3;" (assignment_expression "pcVar2 = param_2 + sVar3" (identifier "pcVar2") (= "=") (binary_expression "param_2 + sVar3" (identifier "param_2") (+ "+") (identifier "sVar3"))) (; ";")) (} "}"))) (expression_statement "FUN_00050e40(&local_34,param_2,pcVar2,0);" (call_expression "FUN_00050e40(&local_34,param_2,pcVar2,0)" (identifier "FUN_00050e40") (argument_list "(&local_34,param_2,pcVar2,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") (, ",") (identifier "pcVar2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" (identifier "__dest") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (if_statement "if (local_34 == local_2c) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }\n  else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" (if "if") (parenthesized_expression "(local_34 == local_2c)" (( "(") (binary_expression "local_34 == local_2c" (identifier "local_34") (== "==") (identifier "local_2c")) () ")")) (compound_statement "{\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined1 *)((int)__dest + local_30) = 0;\n  }" ({ "{") (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n    }" ({ "{") (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }\n      else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" (if "if") (parenthesized_expression "(local_30 == 1)" (( "(") (binary_expression "local_30 == 1" (identifier "local_30") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        *(undefined1 *)__dest = (undefined1)local_2c[0];\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" ({ "{") (expression_statement "*(undefined1 *)__dest = (undefined1)local_2c[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_2c[0]" (pointer_expression "*(undefined1 *)__dest" (* "*") (cast_expression "(undefined1 *)__dest" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest"))) (= "=") (cast_expression "(undefined1)local_2c[0]" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" (identifier "__dest") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" (else "else") (compound_statement "{\n        memcpy(__dest,local_2c,local_30);\n        __dest = *(undefined4 **)(param_1 + 0x88);\n      }" ({ "{") (expression_statement "memcpy(__dest,local_2c,local_30);" (call_expression "memcpy(__dest,local_2c,local_30)" (identifier "memcpy") (argument_list "(__dest,local_2c,local_30)" (( "(") (identifier "__dest") (, ",") (identifier "local_2c") (, ",") (identifier "local_30") () ")"))) (; ";")) (expression_statement "__dest = *(undefined4 **)(param_1 + 0x88);" (assignment_expression "__dest = *(undefined4 **)(param_1 + 0x88)" (identifier "__dest") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" (* "*") (cast_expression "(size_t *)(param_1 + 0x8c)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8c)" (( "(") (binary_expression "param_1 + 0x8c" (identifier "param_1") (+ "+") (number_literal "0x8c")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((int)__dest + local_30)" (* "*") (cast_expression "(undefined1 *)((int)__dest + local_30)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + local_30)" (( "(") (binary_expression "(int)__dest + local_30" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "local_30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" (else "else") (if_statement "if (__dest == (undefined4 *)(param_1 + 0x90)) {\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }\n  else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" (if "if") (parenthesized_expression "(__dest == (undefined4 *)(param_1 + 0x90))" (( "(") (binary_expression "__dest == (undefined4 *)(param_1 + 0x90)" (identifier "__dest") (== "==") (cast_expression "(undefined4 *)(param_1 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))) () ")")) (compound_statement "{\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n  }" ({ "{") (expression_statement "*(undefined4 **)(param_1 + 0x88) = local_34;" (assignment_expression "*(undefined4 **)(param_1 + 0x88) = local_34" (pointer_expression "*(undefined4 **)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" (* "*") (cast_expression "(size_t *)(param_1 + 0x8c)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8c)" (( "(") (binary_expression "param_1 + 0x8c" (identifier "param_1") (+ "+") (number_literal "0x8c")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x90) = local_2c[0];" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = local_2c[0]" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" (else "else") (compound_statement "{\n    *(size_t *)(param_1 + 0x8c) = local_30;\n    uVar1 = *(undefined4 *)(param_1 + 0x90);\n    *(undefined4 **)(param_1 + 0x88) = local_34;\n    *(undefined4 *)(param_1 + 0x90) = local_2c[0];\n    local_34 = local_2c;\n    if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }\n  }" ({ "{") (expression_statement "*(size_t *)(param_1 + 0x8c) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x8c) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x8c)" (* "*") (cast_expression "(size_t *)(param_1 + 0x8c)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8c)" (( "(") (binary_expression "param_1 + 0x8c" (identifier "param_1") (+ "+") (number_literal "0x8c")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x90);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x90)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x90)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x88) = local_34;" (assignment_expression "*(undefined4 **)(param_1 + 0x88) = local_34" (pointer_expression "*(undefined4 **)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x90) = local_2c[0];" (assignment_expression "*(undefined4 *)(param_1 + 0x90) = local_2c[0]" (pointer_expression "*(undefined4 *)(param_1 + 0x90)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x90)" (( "(") (binary_expression "param_1 + 0x90" (identifier "param_1") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (__dest != (undefined4 *)0x0) {\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }" (if "if") (parenthesized_expression "(__dest != (undefined4 *)0x0)" (( "(") (binary_expression "__dest != (undefined4 *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_34 = __dest;\n      local_2c[0] = uVar1;\n    }" ({ "{") (expression_statement "local_34 = __dest;" (assignment_expression "local_34 = __dest" (identifier "local_34") (= "=") (identifier "__dest")) (; ";")) (expression_statement "local_2c[0] = uVar1;" (assignment_expression "local_2c[0] = uVar1" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (} "}")))))) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)local_34 = 0;" (assignment_expression "*(undefined1 *)local_34 = 0" (pointer_expression "*(undefined1 *)local_34" (* "*") (cast_expression "(undefined1 *)local_34" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_34"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_34 != local_2c) {\n    FUN_001e6db0(local_34);\n  }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n    FUN_001e6db0(local_34);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34);" (call_expression "FUN_001e6db0(local_34)" (identifier "FUN_001e6db0") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: ld_plugin_status set_extra_library_path(Plugin_manager * this, char *
   path) */

type_1 __thiscall
gold::type_2::function_1(type_2 *this,char *var_8)

{
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_5;
  type_3 sVar1;
  char *pcVar2;
  size_t var_10;
  anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
  *var_6;
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_7;
  type_4 uStack_14;
  
  pcVar2 = (char *)0xffffffff;
  uStack_14 = 0x13bdae;
  var_5 = &var_7.field_2;
  var_7._M_dataplus._M_p = (type_5)var_5;
  if (var_8 != (char *)0x0) {
    var_10 = var_9(var_8);
    pcVar2 = var_8 + var_10;
  }
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_11<var_12*>(&var_7,var_8,pcVar2,0);
  var_6 = (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
            *)(this->extra_search_path_)._M_dataplus._M_p;
  if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
       *)var_7._M_dataplus._M_p == var_5) {
    if (var_7._M_string_length != 0) {
      if (var_7._M_string_length == 1) {
        var_6->_M_local_buf[0] = var_7.field_2._M_local_buf[0];
        var_6 = (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                  *)(this->extra_search_path_)._M_dataplus._M_p;
      }
      else {
        var_13(var_6,var_5,var_7._M_string_length);
        var_6 = (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                  *)(this->extra_search_path_)._M_dataplus._M_p;
      }
    }
    (this->extra_search_path_)._M_string_length = var_7._M_string_length;
    var_6->_M_local_buf[var_7._M_string_length] = '\0';
  }
  else if (var_6 == &(this->extra_search_path_).field_2) {
    (this->extra_search_path_)._M_dataplus._M_p = var_7._M_dataplus._M_p;
    (this->extra_search_path_)._M_string_length = var_7._M_string_length;
    (this->extra_search_path_).field_2._M_allocated_capacity =
         var_7.field_2._M_allocated_capacity;
    var_7._M_dataplus._M_p = (type_5)var_5;
  }
  else {
    (this->extra_search_path_)._M_string_length = var_7._M_string_length;
    sVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;
    (this->extra_search_path_)._M_dataplus._M_p = var_7._M_dataplus._M_p;
    (this->extra_search_path_).field_2._M_allocated_capacity =
         var_7.field_2._M_allocated_capacity;
    var_7._M_dataplus._M_p = (type_5)var_5;
    if (var_6 != (anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
                   *)0x0) {
      var_7._M_dataplus._M_p = (type_5)var_6;
      var_7.field_2._M_allocated_capacity = sVar1;
    }
  }
  var_7._M_string_length = 0;
  *var_7._M_dataplus._M_p = '\0';
  if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_4
       *)var_7._M_dataplus._M_p != &var_7.field_2) {
    var_14(var_7._M_dataplus._M_p);
  }
  return LDPS_OK;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (number_literal)))) (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: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (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)))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (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)))))))))))) (expression_statement (assignment_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: (identifier))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) 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: (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: (identifier))) (expression_statement (assignment_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: (identifier))) (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (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: (identifier))) (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement (number_literal)))))

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

undefined4 MASKED(int param_1,char *param_2)

{
  undefined4 uVar1;
  char *pcVar2;
  size_t sVar3;
  undefined4 *__dest;
  undefined4 *local_34;
  size_t local_30;
  undefined4 local_2c [6];
  undefined4 uStack_14;
  
  pcVar2 = (char *)0xffffffff;
  uStack_14 = 0x13bdae;
  local_34 = local_2c;
  if (param_2 != (char *)0x0) {
    sVar3 = strlen(param_2);
    pcVar2 = param_2 + sVar3;
  }
  FUN_00050e40(&local_34,param_2,pcVar2,0);
  __dest = *(undefined4 **)(param_1 + 0x88);
  if (local_34 == local_2c) {
    if (local_30 != 0) {
      if (local_30 == 1) {
        *(undefined1 *)__dest = (undefined1)local_2c[0];
        __dest = *(undefined4 **)(param_1 + 0x88);
      }
      else {
        memcpy(__dest,local_2c,local_30);
        __dest = *(undefined4 **)(param_1 + 0x88);
      }
    }
    *(size_t *)(param_1 + 0x8c) = local_30;
    *(undefined1 *)((int)__dest + local_30) = 0;
  }
  else if (__dest == (undefined4 *)(param_1 + 0x90)) {
    *(undefined4 **)(param_1 + 0x88) = local_34;
    *(size_t *)(param_1 + 0x8c) = local_30;
    *(undefined4 *)(param_1 + 0x90) = local_2c[0];
    local_34 = local_2c;
  }
  else {
    *(size_t *)(param_1 + 0x8c) = local_30;
    uVar1 = *(undefined4 *)(param_1 + 0x90);
    *(undefined4 **)(param_1 + 0x88) = local_34;
    *(undefined4 *)(param_1 + 0x90) = local_2c[0];
    local_34 = local_2c;
    if (__dest != (undefined4 *)0x0) {
      local_34 = __dest;
      local_2c[0] = uVar1;
    }
  }
  local_30 = 0;
  *(undefined1 *)local_34 = 0;
  if (local_34 != local_2c) {
    FUN_001e6db0(local_34);
  }
  return 0;
}

