
/* 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)

{
  undefined8 uVar1;
  size_t sVar2;
  char *pcVar3;
  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_38;
  
  pcVar3 = (char *)0xffffffffffffffff;
  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;
  if (path != (char *)0x0) {
    sVar2 = strlen(path);
    pcVar3 = path + sVar2;
  }
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&local_38,path,pcVar3);
  __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_38._M_dataplus._M_p == &local_38.field_2) {
    if (local_38._M_string_length != 0) {
      if (local_38._M_string_length == 1) {
        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length;
    __dest->_M_local_buf[local_38._M_string_length] = '\0';
    uVar1 = local_38.field_2._M_allocated_capacity;
  }
  else {
    if (__dest == &(this->extra_search_path_).field_2) {
      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;
      (this->extra_search_path_)._M_string_length = local_38._M_string_length;
      (this->extra_search_path_).field_2._M_allocated_capacity =
           local_38.field_2._M_allocated_capacity;
    }
    else {
      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;
      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;
      (this->extra_search_path_)._M_string_length = local_38._M_string_length;
      (this->extra_search_path_).field_2._M_allocated_capacity =
           local_38.field_2._M_allocated_capacity;
      local_38._M_dataplus._M_p = (pointer)__dest;
      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
                     *)0x0) goto LAB_001f0724;
    }
    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;
    uVar1 = local_38.field_2._M_allocated_capacity;
  }
LAB_001f0724:
  local_38.field_2._M_allocated_capacity = uVar1;
  local_38._M_string_length = 0;
  *local_38._M_dataplus._M_p = '\0';
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)local_38._M_dataplus._M_p != &local_38.field_2) {
    operator_delete(local_38._M_dataplus._M_p);
  }
  return LDPS_OK;
}



undefined8 FUN_001f0690(long param_1,char *param_2)

{
  undefined8 uVar1;
  size_t sVar2;
  char *pcVar3;
  undefined8 *__dest;
  undefined8 *local_38;
  size_t local_30;
  undefined8 local_28 [2];
  
  pcVar3 = (char *)0xffffffffffffffff;
  local_38 = local_28;
  if (param_2 != (char *)0x0) {
    sVar2 = strlen(param_2);
    pcVar3 = param_2 + sVar2;
  }
  FUN_0015cbe0(&local_38,param_2,pcVar3);
  __dest = *(undefined8 **)(param_1 + 0x100);
  if (local_38 == local_28) {
    if (local_30 != 0) {
      if (local_30 == 1) {
        *(undefined1 *)__dest = (undefined1)local_28[0];
        __dest = *(undefined8 **)(param_1 + 0x100);
      }
      else {
        memcpy(__dest,local_38,local_30);
        __dest = *(undefined8 **)(param_1 + 0x100);
      }
    }
    *(size_t *)(param_1 + 0x108) = local_30;
    *(undefined1 *)((long)__dest + local_30) = 0;
    uVar1 = local_28[0];
  }
  else {
    if (__dest == (undefined8 *)(param_1 + 0x110)) {
      *(undefined8 **)(param_1 + 0x100) = local_38;
      *(size_t *)(param_1 + 0x108) = local_30;
      *(undefined8 *)(param_1 + 0x110) = local_28[0];
    }
    else {
      uVar1 = *(undefined8 *)(param_1 + 0x110);
      *(undefined8 **)(param_1 + 0x100) = local_38;
      *(size_t *)(param_1 + 0x108) = local_30;
      *(undefined8 *)(param_1 + 0x110) = local_28[0];
      local_38 = __dest;
      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;
    }
    local_38 = local_28;
    uVar1 = local_28[0];
  }
LAB_001f0724:
  local_28[0] = uVar1;
  local_30 = 0;
  *(undefined1 *)local_38 = 0;
  if (local_38 != local_28) {
    FUN_00276d20();
  }
  return 0;
}


PUSH R12
MOV RDX,-0x1
MOV R12,RSI
PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x20
MOV RBX,RSP
LEA RAX,[RBX + 0x10]
MOV qword ptr [RSP],RAX
TEST RSI,RSI
JZ 0x001f06c1
MOV RDI,RSI
CALL 0x0013e490
LEA RDX,[R12 + RAX*0x1]
MOV RSI,R12
MOV RDI,RBX
CALL 0x0015cbe0
MOV RSI,qword ptr [RSP]
LEA RAX,[RBX + 0x10]
MOV RDI,qword ptr [RBP + 0x100]
CMP RSI,RAX
JZ 0x001f0770
LEA RCX,[RBP + 0x110]
MOV RAX,qword ptr [RSP + 0x10]
MOV RDX,qword ptr [RSP + 0x8]
CMP RDI,RCX
JZ 0x001f0750
MOV RCX,qword ptr [RBP + 0x110]
MOV qword ptr [RBP + 0x100],RSI
MOV qword ptr [RBP + 0x108],RDX
MOV qword ptr [RBP + 0x110],RAX
TEST RDI,RDI
JZ 0x001f0765
MOV qword ptr [RSP],RDI
MOV qword ptr [RSP + 0x10],RCX
MOV qword ptr [RSP + 0x8],0x0
ADD RBX,0x10
MOV byte ptr [RDI],0x0
MOV RDI,qword ptr [RSP]
CMP RDI,RBX
JZ 0x001f0742
CALL 0x00276d20
ADD RSP,0x20
XOR EAX,EAX
POP RBX
POP RBP
POP R12
RET
MOV qword ptr [RBP + 0x100],RSI
MOV qword ptr [RBP + 0x108],RDX
MOV qword ptr [RBP + 0x110],RAX
LEA RDI,[RBX + 0x10]
MOV qword ptr [RSP],RDI
JMP 0x001f0724
MOV RDX,qword ptr [RSP + 0x8]
TEST RDX,RDX
JZ 0x001f0791
CMP RDX,0x1
JZ 0x001f07a8
CALL 0x0013eaa0
MOV RDX,qword ptr [RSP + 0x8]
MOV RDI,qword ptr [RBP + 0x100]
MOV qword ptr [RBP + 0x108],RDX
MOV byte ptr [RDI + RDX*0x1],0x0
MOV RDI,qword ptr [RSP]
JMP 0x001f0724
MOVZX EAX,byte ptr [RSP + 0x10]
MOV byte ptr [RDI],AL
MOV RDX,qword ptr [RSP + 0x8]
MOV RDI,qword ptr [RBP + 0x100]
JMP 0x001f0791
(translation_unit "undefined8 FUN_001f0690(long param_1,char *param_2)\n\n{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001f0690(long param_1,char *param_2)\n\n{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001f0690(long param_1,char *param_2)" identifier (parameter_list "(long param_1,char *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined8 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined8 local_28 [2];" type_identifier (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (expression_statement "pcVar3 = (char *)0xffffffffffffffff;" (assignment_expression "pcVar3 = (char *)0xffffffffffffffff" identifier = (cast_expression "(char *)0xffffffffffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" identifier = identifier) ;) (if_statement "if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\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    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar3 = param_2 + sVar2;" (assignment_expression "pcVar3 = param_2 + sVar2" identifier = (binary_expression "param_2 + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_0015cbe0(&local_38,param_2,pcVar3);" (call_expression "FUN_0015cbe0(&local_38,param_2,pcVar3)" identifier (argument_list "(&local_38,param_2,pcVar3)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))) ;) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) (if_statement "if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" if (parenthesized_expression "(local_38 == local_28)" ( (binary_expression "local_38 == local_28" identifier == identifier) )) (compound_statement "{\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }" { (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\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_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_28[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_28[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_28[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_28[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" else (compound_statement "{\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" { (expression_statement "memcpy(__dest,local_38,local_30);" (call_expression "memcpy(__dest,local_38,local_30)" identifier (argument_list "(__dest,local_38,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) }))) })) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" * (cast_expression "(size_t *)(param_1 + 0x108)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((long)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((long)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((long)__dest + local_30)" * (cast_expression "(undefined1 *)((long)__dest + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + local_30)" ( (binary_expression "(long)__dest + local_30" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = local_28[0];" (assignment_expression "uVar1 = local_28[0]" identifier = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" else (compound_statement "{\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" { (if_statement "if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" if (parenthesized_expression "(__dest == (undefined8 *)(param_1 + 0x110))" ( (binary_expression "__dest == (undefined8 *)(param_1 + 0x110)" identifier == (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) )))) )) (compound_statement "{\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }" { (expression_statement "*(undefined8 **)(param_1 + 0x100) = local_38;" (assignment_expression "*(undefined8 **)(param_1 + 0x100) = local_38" (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" * (cast_expression "(size_t *)(param_1 + 0x108)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x110) = local_28[0];" (assignment_expression "*(undefined8 *)(param_1 + 0x110) = local_28[0]" (pointer_expression "*(undefined8 *)(param_1 + 0x110)" * (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) )))) = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" else (compound_statement "{\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" { (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x110);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x110)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x110)" * (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 **)(param_1 + 0x100) = local_38;" (assignment_expression "*(undefined8 **)(param_1 + 0x100) = local_38" (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" * (cast_expression "(size_t *)(param_1 + 0x108)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x110) = local_28[0];" (assignment_expression "*(undefined8 *)(param_1 + 0x110) = local_28[0]" (pointer_expression "*(undefined8 *)(param_1 + 0x110)" * (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) )))) = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) (expression_statement "local_38 = __dest;" (assignment_expression "local_38 = __dest" identifier = identifier) ;) (if_statement "if (__dest != (undefined8 *)0x0) goto LAB_001f0724;" if (parenthesized_expression "(__dest != (undefined8 *)0x0)" ( (binary_expression "__dest != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001f0724;" goto statement_identifier ;)) }))) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" identifier = identifier) ;) (expression_statement "uVar1 = local_28[0];" (assignment_expression "uVar1 = local_28[0]" identifier = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) }))) (labeled_statement "LAB_001f0724:\n  local_28[0] = uVar1;" statement_identifier : (expression_statement "local_28[0] = uVar1;" (assignment_expression "local_28[0] = uVar1" (subscript_expression "local_28[0]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_38 = 0;" (assignment_expression "*(undefined1 *)local_38 = 0" (pointer_expression "*(undefined1 *)local_38" * (cast_expression "(undefined1 *)local_38" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_38 != local_28) {\n    FUN_00276d20();\n  }" if (parenthesized_expression "(local_38 != local_28)" ( (binary_expression "local_38 != local_28" identifier != identifier) )) (compound_statement "{\n    FUN_00276d20();\n  }" { (expression_statement "FUN_00276d20();" (call_expression "FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* 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  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\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_38;\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n  if (path != (char *)0x0) {\n    sVar2 = strlen(path);\n    pcVar3 = path + sVar2;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,path,pcVar3);\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_38._M_dataplus._M_p == &local_38.field_2) {\n    if (local_38._M_string_length != 0) {\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length;\n    __dest->_M_local_buf[local_38._M_string_length] = '\0';\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\n  else {\n    if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }\n    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\nLAB_001f0724:\n  local_38.field_2._M_allocated_capacity = uVar1;\n  local_38._M_string_length = 0;\n  *local_38._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_38._M_dataplus._M_p != &local_38.field_2) {\n    operator_delete(local_38._M_dataplus._M_p);\n  }\n  return LDPS_OK;\n}\n\n" comment comment (function_definition "ld_plugin_status __thiscall\ngold::Plugin_manager::set_extra_library_path(Plugin_manager *this,char *path)\n\n{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\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_38;\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n  if (path != (char *)0x0) {\n    sVar2 = strlen(path);\n    pcVar3 = path + sVar2;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,path,pcVar3);\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_38._M_dataplus._M_p == &local_38.field_2) {\n    if (local_38._M_string_length != 0) {\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length;\n    __dest->_M_local_buf[local_38._M_string_length] = '\0';\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\n  else {\n    if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }\n    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\nLAB_001f0724:\n  local_38.field_2._M_allocated_capacity = uVar1;\n  local_38._M_string_length = 0;\n  *local_38._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_38._M_dataplus._M_p != &local_38.field_2) {\n    operator_delete(local_38._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  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\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_38;\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n  if (path != (char *)0x0) {\n    sVar2 = strlen(path);\n    pcVar3 = path + sVar2;\n  }\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,path,pcVar3);\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_38._M_dataplus._M_p == &local_38.field_2) {\n    if (local_38._M_string_length != 0) {\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length;\n    __dest->_M_local_buf[local_38._M_string_length] = '\0';\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\n  else {\n    if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }\n    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\nLAB_001f0724:\n  local_38.field_2._M_allocated_capacity = uVar1;\n  local_38._M_string_length = 0;\n  *local_38._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_38._M_dataplus._M_p != &local_38.field_2) {\n    operator_delete(local_38._M_dataplus._M_p);\n  }\n  return LDPS_OK;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * 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_38;" (binary_expression "allocator<char>_> local_38" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) ;) (expression_statement "pcVar3 = (char *)0xffffffffffffffff;" (assignment_expression "pcVar3 = (char *)0xffffffffffffffff" identifier = (cast_expression "(char *)0xffffffffffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38._M_dataplus._M_p = (pointer)&local_38.field_2;" (assignment_expression "local_38._M_dataplus._M_p = (pointer)&local_38.field_2" (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_38.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_38.field_2" identifier . field_identifier))) ;) (if_statement "if (path != (char *)0x0) {\n    sVar2 = strlen(path);\n    pcVar3 = path + sVar2;\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    sVar2 = strlen(path);\n    pcVar3 = path + sVar2;\n  }" { (expression_statement "sVar2 = strlen(path);" (assignment_expression "sVar2 = strlen(path)" identifier = (call_expression "strlen(path)" identifier (argument_list "(path)" ( identifier )))) ;) (expression_statement "pcVar3 = path + sVar2;" (assignment_expression "pcVar3 = path + sVar2" identifier = (binary_expression "path + sVar2" identifier + identifier)) ;) })) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,path,pcVar3);" 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_38,path,pcVar3);" (binary_expression "_M_construct<char_const*>(&local_38,path,pcVar3)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_38,path,pcVar3)" ( (comma_expression "&local_38,path,pcVar3" (pointer_expression "&local_38" & identifier) , (comma_expression "path,pcVar3" identifier , 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)) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_38._M_dataplus._M_p == &local_38.field_2) {\n    if (local_38._M_string_length != 0) {\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length;\n    __dest->_M_local_buf[local_38._M_string_length] = '\0';\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }\n  else {\n    if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }\n    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_38._M_dataplus._M_p == &local_38.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_38._M_dataplus._M_p == &local_38.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_38._M_dataplus._M_p == &local_38.field_2" (binary_expression "allocator<char>_>_9\n       *)local_38._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)local_38._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier))) == (pointer_expression "&local_38.field_2" & (field_expression "local_38.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    if (local_38._M_string_length != 0) {\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length;\n    __dest->_M_local_buf[local_38._M_string_length] = '\0';\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }" { (if_statement "if (local_38._M_string_length != 0) {\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length != 0)" ( (binary_expression "local_38._M_string_length != 0" (field_expression "local_38._M_string_length" identifier . field_identifier) != number_literal) )) (compound_statement "{\n      if (local_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length == 1) {\n        __dest->_M_local_buf[0] = local_38.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,local_38._M_dataplus._M_p,local_38._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_38._M_string_length == 1)" ( (binary_expression "local_38._M_string_length == 1" (field_expression "local_38._M_string_length" identifier . field_identifier) == number_literal) )) (compound_statement "{\n        __dest->_M_local_buf[0] = local_38.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_38.field_2._M_local_buf[0];" (assignment_expression "__dest->_M_local_buf[0] = local_38.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_38.field_2._M_local_buf[0]" (field_expression "local_38.field_2._M_local_buf" (field_expression "local_38.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,local_38._M_dataplus._M_p,local_38._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,local_38._M_dataplus._M_p,local_38._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,local_38._M_dataplus._M_p,local_38._M_string_length);" (call_expression "memcpy(__dest,local_38._M_dataplus._M_p,local_38._M_string_length)" identifier (argument_list "(__dest,local_38._M_dataplus._M_p,local_38._M_string_length)" ( identifier , (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier) , (field_expression "local_38._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_38._M_string_length;" (assignment_expression "(this->extra_search_path_)._M_string_length = local_38._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_38._M_string_length" identifier . field_identifier)) ;) (expression_statement "__dest->_M_local_buf[local_38._M_string_length] = '\0';" (assignment_expression "__dest->_M_local_buf[local_38._M_string_length] = '\0'" (subscript_expression "__dest->_M_local_buf[local_38._M_string_length]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ (field_expression "local_38._M_string_length" identifier . field_identifier) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar1 = local_38.field_2._M_allocated_capacity;" (assignment_expression "uVar1 = local_38.field_2._M_allocated_capacity" identifier = (field_expression "local_38.field_2._M_allocated_capacity" (field_expression "local_38.field_2" identifier . field_identifier) . field_identifier)) ;) }) (else_clause "else {\n    if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }\n    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }" else (compound_statement "{\n    if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }\n    local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n    uVar1 = local_38.field_2._M_allocated_capacity;\n  }" { (if_statement "if (__dest == &(this->extra_search_path_).field_2) {\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }\n    else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\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_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n    }" { (expression_statement "(this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;" (assignment_expression "(this->extra_search_path_)._M_dataplus._M_p = local_38._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_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "(this->extra_search_path_)._M_string_length = local_38._M_string_length;" (assignment_expression "(this->extra_search_path_)._M_string_length = local_38._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_38._M_string_length" identifier . field_identifier)) ;) (expression_statement "(this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;" (assignment_expression "(this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.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_38.field_2._M_allocated_capacity" (field_expression "local_38.field_2" identifier . field_identifier) . field_identifier)) ;) }) (else_clause "else {\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }" else (compound_statement "{\n      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;\n      (this->extra_search_path_)._M_dataplus._M_p = local_38._M_dataplus._M_p;\n      (this->extra_search_path_)._M_string_length = local_38._M_string_length;\n      (this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;\n      local_38._M_dataplus._M_p = (pointer)__dest;\n      if (__dest != (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n                     *)0x0) goto LAB_001f0724;\n    }" { (expression_statement "uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;" (assignment_expression "uVar1 = (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_38._M_dataplus._M_p;" (assignment_expression "(this->extra_search_path_)._M_dataplus._M_p = local_38._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_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "(this->extra_search_path_)._M_string_length = local_38._M_string_length;" (assignment_expression "(this->extra_search_path_)._M_string_length = local_38._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_38._M_string_length" identifier . field_identifier)) ;) (expression_statement "(this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.field_2._M_allocated_capacity;" (assignment_expression "(this->extra_search_path_).field_2._M_allocated_capacity =\n           local_38.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_38.field_2._M_allocated_capacity" (field_expression "local_38.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "local_38._M_dataplus._M_p = (pointer)__dest;" (assignment_expression "local_38._M_dataplus._M_p = (pointer)__dest" (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier) = (cast_expression "(pointer)__dest" ( (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) goto LAB_001f0724;" 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)) ))) )) (goto_statement "goto LAB_001f0724;" goto statement_identifier ;)) }))) (expression_statement "local_38._M_dataplus._M_p = (pointer)&local_38.field_2;" (assignment_expression "local_38._M_dataplus._M_p = (pointer)&local_38.field_2" (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_38.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_38.field_2" identifier . field_identifier))) ;) (expression_statement "uVar1 = local_38.field_2._M_allocated_capacity;" (assignment_expression "uVar1 = local_38.field_2._M_allocated_capacity" identifier = (field_expression "local_38.field_2._M_allocated_capacity" (field_expression "local_38.field_2" identifier . field_identifier) . field_identifier)) ;) }))) (labeled_statement "LAB_001f0724:\n  local_38.field_2._M_allocated_capacity = uVar1;" statement_identifier : (expression_statement "local_38.field_2._M_allocated_capacity = uVar1;" (assignment_expression "local_38.field_2._M_allocated_capacity = uVar1" (field_expression "local_38.field_2._M_allocated_capacity" (field_expression "local_38.field_2" identifier . field_identifier) . field_identifier) = identifier) ;)) (expression_statement "local_38._M_string_length = 0;" (assignment_expression "local_38._M_string_length = 0" (field_expression "local_38._M_string_length" identifier . field_identifier) = number_literal) ;) (expression_statement "*local_38._M_dataplus._M_p = '\0';" (assignment_expression "*local_38._M_dataplus._M_p = '\0'" (pointer_expression "*local_38._M_dataplus._M_p" * (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._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_38._M_dataplus._M_p != &local_38.field_2) {\n    operator_delete(local_38._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_38._M_dataplus._M_p != &local_38.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)local_38._M_dataplus._M_p != &local_38.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_38._M_dataplus._M_p != &local_38.field_2" (binary_expression "allocator<char>_>_9\n       *)local_38._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)local_38._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_38.field_2" & (field_expression "local_38.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(local_38._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(local_38._M_dataplus._M_p);" (call_expression "operator_delete(local_38._M_dataplus._M_p)" identifier (argument_list "(local_38._M_dataplus._M_p)" ( (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return LDPS_OK;" return identifier ;) })))
(translation_unit "undefined8 FUN_001f0690(long param_1,char *param_2)\n\n{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_001f0690(long param_1,char *param_2)\n\n{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_001f0690(long param_1,char *param_2)" identifier (parameter_list "(long param_1,char *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined8 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "size_t local_30;" primitive_type identifier ;) (declaration "undefined8 local_28 [2];" type_identifier (array_declarator "local_28 [2]" identifier [ number_literal ]) ;) (expression_statement "pcVar3 = (char *)0xffffffffffffffff;" (assignment_expression "pcVar3 = (char *)0xffffffffffffffff" identifier = (cast_expression "(char *)0xffffffffffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" identifier = identifier) ;) (if_statement "if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\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    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar3 = param_2 + sVar2;" (assignment_expression "pcVar3 = param_2 + sVar2" identifier = (binary_expression "param_2 + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_0015cbe0(&local_38,param_2,pcVar3);" (call_expression "FUN_0015cbe0(&local_38,param_2,pcVar3)" identifier (argument_list "(&local_38,param_2,pcVar3)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))) ;) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) (if_statement "if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" if (parenthesized_expression "(local_38 == local_28)" ( (binary_expression "local_38 == local_28" identifier == identifier) )) (compound_statement "{\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }" { (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\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_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }" { (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" if (parenthesized_expression "(local_30 == 1)" ( (binary_expression "local_30 == 1" identifier == number_literal) )) (compound_statement "{\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" { (expression_statement "*(undefined1 *)__dest = (undefined1)local_28[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_28[0]" (pointer_expression "*(undefined1 *)__dest" * (cast_expression "(undefined1 *)__dest" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(undefined1)local_28[0]" ( (type_descriptor "undefined1" type_identifier) ) (subscript_expression "local_28[0]" identifier [ number_literal ]))) ;) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" else (compound_statement "{\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" { (expression_statement "memcpy(__dest,local_38,local_30);" (call_expression "memcpy(__dest,local_38,local_30)" identifier (argument_list "(__dest,local_38,local_30)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) ))))) ;) }))) })) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" * (cast_expression "(size_t *)(param_1 + 0x108)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((long)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((long)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((long)__dest + local_30)" * (cast_expression "(undefined1 *)((long)__dest + local_30)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + local_30)" ( (binary_expression "(long)__dest + local_30" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = local_28[0];" (assignment_expression "uVar1 = local_28[0]" identifier = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" else (compound_statement "{\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" { (if_statement "if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" if (parenthesized_expression "(__dest == (undefined8 *)(param_1 + 0x110))" ( (binary_expression "__dest == (undefined8 *)(param_1 + 0x110)" identifier == (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) )))) )) (compound_statement "{\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }" { (expression_statement "*(undefined8 **)(param_1 + 0x100) = local_38;" (assignment_expression "*(undefined8 **)(param_1 + 0x100) = local_38" (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" * (cast_expression "(size_t *)(param_1 + 0x108)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x110) = local_28[0];" (assignment_expression "*(undefined8 *)(param_1 + 0x110) = local_28[0]" (pointer_expression "*(undefined8 *)(param_1 + 0x110)" * (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) )))) = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" else (compound_statement "{\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" { (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x110);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x110)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x110)" * (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 **)(param_1 + 0x100) = local_38;" (assignment_expression "*(undefined8 **)(param_1 + 0x100) = local_38" (pointer_expression "*(undefined8 **)(param_1 + 0x100)" * (cast_expression "(undefined8 **)(param_1 + 0x100)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x100)" ( (binary_expression "param_1 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" * (cast_expression "(size_t *)(param_1 + 0x108)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 0x110) = local_28[0];" (assignment_expression "*(undefined8 *)(param_1 + 0x110) = local_28[0]" (pointer_expression "*(undefined8 *)(param_1 + 0x110)" * (cast_expression "(undefined8 *)(param_1 + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x110)" ( (binary_expression "param_1 + 0x110" identifier + number_literal) )))) = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) (expression_statement "local_38 = __dest;" (assignment_expression "local_38 = __dest" identifier = identifier) ;) (if_statement "if (__dest != (undefined8 *)0x0) goto LAB_001f0724;" if (parenthesized_expression "(__dest != (undefined8 *)0x0)" ( (binary_expression "__dest != (undefined8 *)0x0" identifier != (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_001f0724;" goto statement_identifier ;)) }))) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" identifier = identifier) ;) (expression_statement "uVar1 = local_28[0];" (assignment_expression "uVar1 = local_28[0]" identifier = (subscript_expression "local_28[0]" identifier [ number_literal ])) ;) }))) (labeled_statement "LAB_001f0724:\n  local_28[0] = uVar1;" statement_identifier : (expression_statement "local_28[0] = uVar1;" (assignment_expression "local_28[0] = uVar1" (subscript_expression "local_28[0]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)local_38 = 0;" (assignment_expression "*(undefined1 *)local_38 = 0" (pointer_expression "*(undefined1 *)local_38" * (cast_expression "(undefined1 *)local_38" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (if_statement "if (local_38 != local_28) {\n    FUN_00276d20();\n  }" if (parenthesized_expression "(local_38 != local_28)" ( (binary_expression "local_38 != local_28" identifier != identifier) )) (compound_statement "{\n    FUN_00276d20();\n  }" { (expression_statement "FUN_00276d20();" (call_expression "FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ))) ;) (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 (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (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 ])) ;) }) (else_clause else (compound_statement { (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) )))) = 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)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (labeled_statement statement_identifier : (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 ( ))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_001f0690(long param_1,char *param_2)\n\n{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_001f0690(long param_1,char *param_2)" (identifier "FUN_001f0690") (parameter_list "(long param_1,char *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  size_t sVar2;\n  char *pcVar3;\n  undefined8 *__dest;\n  undefined8 *local_38;\n  size_t local_30;\n  undefined8 local_28 [2];\n  \n  pcVar3 = (char *)0xffffffffffffffff;\n  local_38 = local_28;\n  if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }\n  FUN_0015cbe0(&local_38,param_2,pcVar3);\n  __dest = *(undefined8 **)(param_1 + 0x100);\n  if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }\nLAB_001f0724:\n  local_28[0] = uVar1;\n  local_30 = 0;\n  *(undefined1 *)local_38 = 0;\n  if (local_38 != local_28) {\n    FUN_00276d20();\n  }\n  return 0;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined8 *__dest;" (type_identifier "undefined8") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "undefined8 *local_38;" (type_identifier "undefined8") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "size_t local_30;" (primitive_type "size_t") (identifier "local_30") (; ";")) (declaration "undefined8 local_28 [2];" (type_identifier "undefined8") (array_declarator "local_28 [2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "pcVar3 = (char *)0xffffffffffffffff;" (assignment_expression "pcVar3 = (char *)0xffffffffffffffff" (identifier "pcVar3") (= "=") (cast_expression "(char *)0xffffffffffffffff" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffffffffffff"))) (; ";")) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" (identifier "local_38") (= "=") (identifier "local_28")) (; ";")) (if_statement "if (param_2 != (char *)0x0) {\n    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\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    sVar2 = strlen(param_2);\n    pcVar3 = param_2 + sVar2;\n  }" ({ "{") (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" (identifier "sVar2") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pcVar3 = param_2 + sVar2;" (assignment_expression "pcVar3 = param_2 + sVar2" (identifier "pcVar3") (= "=") (binary_expression "param_2 + sVar2" (identifier "param_2") (+ "+") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "FUN_0015cbe0(&local_38,param_2,pcVar3);" (call_expression "FUN_0015cbe0(&local_38,param_2,pcVar3)" (identifier "FUN_0015cbe0") (argument_list "(&local_38,param_2,pcVar3)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_2") (, ",") (identifier "pcVar3") () ")"))) (; ";")) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" (identifier "__dest") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x100)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x100)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")"))))) (; ";")) (if_statement "if (local_38 == local_28) {\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }\n  else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" (if "if") (parenthesized_expression "(local_38 == local_28)" (( "(") (binary_expression "local_38 == local_28" (identifier "local_38") (== "==") (identifier "local_28")) () ")")) (compound_statement "{\n    if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }\n    *(size_t *)(param_1 + 0x108) = local_30;\n    *(undefined1 *)((long)__dest + local_30) = 0;\n    uVar1 = local_28[0];\n  }" ({ "{") (if_statement "if (local_30 != 0) {\n      if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\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_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n    }" ({ "{") (if_statement "if (local_30 == 1) {\n        *(undefined1 *)__dest = (undefined1)local_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }\n      else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\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_28[0];\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" ({ "{") (expression_statement "*(undefined1 *)__dest = (undefined1)local_28[0];" (assignment_expression "*(undefined1 *)__dest = (undefined1)local_28[0]" (pointer_expression "*(undefined1 *)__dest" (* "*") (cast_expression "(undefined1 *)__dest" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__dest"))) (= "=") (cast_expression "(undefined1)local_28[0]" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" (identifier "__dest") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x100)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x100)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" (else "else") (compound_statement "{\n        memcpy(__dest,local_38,local_30);\n        __dest = *(undefined8 **)(param_1 + 0x100);\n      }" ({ "{") (expression_statement "memcpy(__dest,local_38,local_30);" (call_expression "memcpy(__dest,local_38,local_30)" (identifier "memcpy") (argument_list "(__dest,local_38,local_30)" (( "(") (identifier "__dest") (, ",") (identifier "local_38") (, ",") (identifier "local_30") () ")"))) (; ";")) (expression_statement "__dest = *(undefined8 **)(param_1 + 0x100);" (assignment_expression "__dest = *(undefined8 **)(param_1 + 0x100)" (identifier "__dest") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x100)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x100)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" (* "*") (cast_expression "(size_t *)(param_1 + 0x108)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined1 *)((long)__dest + local_30) = 0;" (assignment_expression "*(undefined1 *)((long)__dest + local_30) = 0" (pointer_expression "*(undefined1 *)((long)__dest + local_30)" (* "*") (cast_expression "(undefined1 *)((long)__dest + local_30)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)__dest + local_30)" (( "(") (binary_expression "(long)__dest + local_30" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (identifier "local_30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = local_28[0];" (assignment_expression "uVar1 = local_28[0]" (identifier "uVar1") (= "=") (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" (else "else") (compound_statement "{\n    if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }\n    local_38 = local_28;\n    uVar1 = local_28[0];\n  }" ({ "{") (if_statement "if (__dest == (undefined8 *)(param_1 + 0x110)) {\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }\n    else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" (if "if") (parenthesized_expression "(__dest == (undefined8 *)(param_1 + 0x110))" (( "(") (binary_expression "__dest == (undefined8 *)(param_1 + 0x110)" (identifier "__dest") (== "==") (cast_expression "(undefined8 *)(param_1 + 0x110)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x110)" (( "(") (binary_expression "param_1 + 0x110" (identifier "param_1") (+ "+") (number_literal "0x110")) () ")")))) () ")")) (compound_statement "{\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n    }" ({ "{") (expression_statement "*(undefined8 **)(param_1 + 0x100) = local_38;" (assignment_expression "*(undefined8 **)(param_1 + 0x100) = local_38" (pointer_expression "*(undefined8 **)(param_1 + 0x100)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x100)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")")))) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" (* "*") (cast_expression "(size_t *)(param_1 + 0x108)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x110) = local_28[0];" (assignment_expression "*(undefined8 *)(param_1 + 0x110) = local_28[0]" (pointer_expression "*(undefined8 *)(param_1 + 0x110)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x110)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x110)" (( "(") (binary_expression "param_1 + 0x110" (identifier "param_1") (+ "+") (number_literal "0x110")) () ")")))) (= "=") (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" (else "else") (compound_statement "{\n      uVar1 = *(undefined8 *)(param_1 + 0x110);\n      *(undefined8 **)(param_1 + 0x100) = local_38;\n      *(size_t *)(param_1 + 0x108) = local_30;\n      *(undefined8 *)(param_1 + 0x110) = local_28[0];\n      local_38 = __dest;\n      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;\n    }" ({ "{") (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x110);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x110)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x110)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x110)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x110)" (( "(") (binary_expression "param_1 + 0x110" (identifier "param_1") (+ "+") (number_literal "0x110")) () ")"))))) (; ";")) (expression_statement "*(undefined8 **)(param_1 + 0x100) = local_38;" (assignment_expression "*(undefined8 **)(param_1 + 0x100) = local_38" (pointer_expression "*(undefined8 **)(param_1 + 0x100)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x100)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x100)" (( "(") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100")) () ")")))) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*(size_t *)(param_1 + 0x108) = local_30;" (assignment_expression "*(size_t *)(param_1 + 0x108) = local_30" (pointer_expression "*(size_t *)(param_1 + 0x108)" (* "*") (cast_expression "(size_t *)(param_1 + 0x108)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x110) = local_28[0];" (assignment_expression "*(undefined8 *)(param_1 + 0x110) = local_28[0]" (pointer_expression "*(undefined8 *)(param_1 + 0x110)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x110)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x110)" (( "(") (binary_expression "param_1 + 0x110" (identifier "param_1") (+ "+") (number_literal "0x110")) () ")")))) (= "=") (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_38 = __dest;" (assignment_expression "local_38 = __dest" (identifier "local_38") (= "=") (identifier "__dest")) (; ";")) (if_statement "if (__dest != (undefined8 *)0x0) goto LAB_001f0724;" (if "if") (parenthesized_expression "(__dest != (undefined8 *)0x0)" (( "(") (binary_expression "__dest != (undefined8 *)0x0" (identifier "__dest") (!= "!=") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_001f0724;" (goto "goto") (statement_identifier "LAB_001f0724") (; ";"))) (} "}")))) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" (identifier "local_38") (= "=") (identifier "local_28")) (; ";")) (expression_statement "uVar1 = local_28[0];" (assignment_expression "uVar1 = local_28[0]" (identifier "uVar1") (= "=") (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")))) (labeled_statement "LAB_001f0724:\n  local_28[0] = uVar1;" (statement_identifier "LAB_001f0724") (: ":") (expression_statement "local_28[0] = uVar1;" (assignment_expression "local_28[0] = uVar1" (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (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_38 = 0;" (assignment_expression "*(undefined1 *)local_38 = 0" (pointer_expression "*(undefined1 *)local_38" (* "*") (cast_expression "(undefined1 *)local_38" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_38"))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_38 != local_28) {\n    FUN_00276d20();\n  }" (if "if") (parenthesized_expression "(local_38 != local_28)" (( "(") (binary_expression "local_38 != local_28" (identifier "local_38") (!= "!=") (identifier "local_28")) () ")")) (compound_statement "{\n    FUN_00276d20();\n  }" ({ "{") (expression_statement "FUN_00276d20();" (call_expression "FUN_00276d20()" (identifier "FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* 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_7)

{
  type_3 uVar1;
  size_t var_9;
  char *pcVar3;
  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;
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_6;
  
  pcVar3 = (char *)0xffffffffffffffff;
  var_6._M_dataplus._M_p = (type_4)&var_6.field_2;
  if (var_7 != (char *)0x0) {
    var_9 = var_8(var_7);
    pcVar3 = var_7 + var_9;
  }
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_10<var_11*>(&var_6,var_7,pcVar3);
  var_5 = (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_6._M_dataplus._M_p == &var_6.field_2) {
    if (var_6._M_string_length != 0) {
      if (var_6._M_string_length == 1) {
        var_5->_M_local_buf[0] = var_6.field_2._M_local_buf[0];
        var_5 = (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_12(var_5,var_6._M_dataplus._M_p,var_6._M_string_length);
        var_5 = (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_6._M_string_length;
    var_5->_M_local_buf[var_6._M_string_length] = '\0';
    uVar1 = var_6.field_2._M_allocated_capacity;
  }
  else {
    if (var_5 == &(this->extra_search_path_).field_2) {
      (this->extra_search_path_)._M_dataplus._M_p = var_6._M_dataplus._M_p;
      (this->extra_search_path_)._M_string_length = var_6._M_string_length;
      (this->extra_search_path_).field_2._M_allocated_capacity =
           var_6.field_2._M_allocated_capacity;
    }
    else {
      uVar1 = (this->extra_search_path_).field_2._M_allocated_capacity;
      (this->extra_search_path_)._M_dataplus._M_p = var_6._M_dataplus._M_p;
      (this->extra_search_path_)._M_string_length = var_6._M_string_length;
      (this->extra_search_path_).field_2._M_allocated_capacity =
           var_6.field_2._M_allocated_capacity;
      var_6._M_dataplus._M_p = (type_4)var_5;
      if (var_5 != (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) goto LAB_001f0724;
    }
    var_6._M_dataplus._M_p = (type_4)&var_6.field_2;
    uVar1 = var_6.field_2._M_allocated_capacity;
  }
LAB_001f0724:
  var_6.field_2._M_allocated_capacity = uVar1;
  var_6._M_string_length = 0;
  *var_6._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_6._M_dataplus._M_p != &var_6.field_2) {
    var_13(var_6._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: (sized_type_specifier) 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: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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))) (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: (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)))) (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: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (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))))) alternative: (else_clause (compound_statement (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: (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))) (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: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (labeled_statement label: (statement_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))))) (return_statement (number_literal)))))

undefined8 MASKED(long param_1,char *param_2)

{
  undefined8 uVar1;
  size_t sVar2;
  char *pcVar3;
  undefined8 *__dest;
  undefined8 *local_38;
  size_t local_30;
  undefined8 local_28 [2];
  
  pcVar3 = (char *)0xffffffffffffffff;
  local_38 = local_28;
  if (param_2 != (char *)0x0) {
    sVar2 = strlen(param_2);
    pcVar3 = param_2 + sVar2;
  }
  FUN_0015cbe0(&local_38,param_2,pcVar3);
  __dest = *(undefined8 **)(param_1 + 0x100);
  if (local_38 == local_28) {
    if (local_30 != 0) {
      if (local_30 == 1) {
        *(undefined1 *)__dest = (undefined1)local_28[0];
        __dest = *(undefined8 **)(param_1 + 0x100);
      }
      else {
        memcpy(__dest,local_38,local_30);
        __dest = *(undefined8 **)(param_1 + 0x100);
      }
    }
    *(size_t *)(param_1 + 0x108) = local_30;
    *(undefined1 *)((long)__dest + local_30) = 0;
    uVar1 = local_28[0];
  }
  else {
    if (__dest == (undefined8 *)(param_1 + 0x110)) {
      *(undefined8 **)(param_1 + 0x100) = local_38;
      *(size_t *)(param_1 + 0x108) = local_30;
      *(undefined8 *)(param_1 + 0x110) = local_28[0];
    }
    else {
      uVar1 = *(undefined8 *)(param_1 + 0x110);
      *(undefined8 **)(param_1 + 0x100) = local_38;
      *(size_t *)(param_1 + 0x108) = local_30;
      *(undefined8 *)(param_1 + 0x110) = local_28[0];
      local_38 = __dest;
      if (__dest != (undefined8 *)0x0) goto LAB_001f0724;
    }
    local_38 = local_28;
    uVar1 = local_28[0];
  }
LAB_001f0724:
  local_28[0] = uVar1;
  local_30 = 0;
  *(undefined1 *)local_38 = 0;
  if (local_38 != local_28) {
    FUN_00276d20();
  }
  return 0;
}

