
/* DWARF original prototype: string get_name(Dir_cache_task * this) */

string * __thiscall
anon_unknown.dwarf_6d67de::Dir_cache_task::get_name
          (string *__return_storage_ptr__,Dir_cache_task *this)

{
  char *__s;
  size_t sVar1;
  int *piVar2;
  int unaff_EDI;
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;
  
  __x86_get_pc_thunk_di();
  __s = this->dir_;
  local_34._M_dataplus._M_p = (pointer)&local_34.field_2;
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0);
  sVar1 = strlen(__s);
  if (sVar1 <= 0x7fffffff - local_34._M_string_length) {
                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */
    piVar2 = (int *)std::string::_M_append((char *)&local_34,(uint)__s);
    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
    if ((int *)*piVar2 == piVar2 + 2) {
      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];
      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];
      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];
      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];
    }
    else {
      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;
      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];
    }
    __return_storage_ptr__->_M_string_length = piVar2[1];
    *piVar2 = (int)(piVar2 + 2);
    piVar2[1] = 0;
    *(undefined1 *)(piVar2 + 2) = 0;
    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
         *)local_34._M_dataplus._M_p != &local_34.field_2) {
      operator_delete(local_34._M_dataplus._M_p);
    }
    return __return_storage_ptr__;
  }
                    /* WARNING: Subroutine does not return */
  std::__throw_length_error(&UNK_002350aa + unaff_EDI);
}



int * FUN_000c3910(int *param_1,int param_2)

{
  char *__s;
  size_t sVar1;
  int *piVar2;
  int unaff_EDI;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [28];
  
  FUN_000b484e();
  __s = *(char **)(param_2 + 0x24);
  local_34 = local_2c;
  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);
  sVar1 = strlen(__s);
  if (sVar1 <= 0x7fffffffU - local_30) {
                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */
    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);
    *param_1 = (int)(param_1 + 2);
    if ((int *)*piVar2 == piVar2 + 2) {
      param_1[2] = piVar2[2];
      param_1[3] = piVar2[3];
      param_1[4] = piVar2[4];
      param_1[5] = piVar2[5];
    }
    else {
      *param_1 = *piVar2;
      param_1[2] = piVar2[2];
    }
    param_1[1] = piVar2[1];
    *piVar2 = (int)(piVar2 + 2);
    piVar2[1] = 0;
    *(undefined1 *)(piVar2 + 2) = 0;
    if (local_34 != local_2c) {
      FUN_00248220(local_34);
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0028dc10(unaff_EDI + 0x2350aa);
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000b484e
ADD EDI,0x3506e7
PUSH ESI
LEA ECX,[EBP + -0x30]
PUSH EBX
SUB ESP,0x3c
MOV EAX,dword ptr [EBP + 0xc]
MOV ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x40],ECX
MOV EBX,dword ptr [EAX + 0x24]
LEA EAX,[EBP + -0x28]
PUSH 0x0
MOV dword ptr [EBP + -0x3c],EAX
MOV dword ptr [EBP + -0x30],EAX
LEA EAX,[EDI + 0xffee506a]
PUSH EAX
LEA EAX,[EDI + 0xffee505b]
PUSH EAX
PUSH ECX
MOV dword ptr [EBP + -0x44],EBX
CALL 0x000a8880
MOV dword ptr [ESP],EBX
MOV EBX,EDI
CALL 0x0002c330
MOV EDX,0x7fffffff
SUB EDX,dword ptr [EBP + -0x2c]
ADD ESP,0x10
CMP EAX,EDX
MOV ECX,dword ptr [EBP + -0x40]
JA 0x000c39ea
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [EBP + -0x44]
PUSH ECX
CALL 0x00251a30
LEA EDX,[ESI + 0x8]
ADD ESP,0x10
MOV dword ptr [ESI],EDX
MOV ECX,dword ptr [EAX]
MOV EBX,EDX
LEA EDX,[EAX + 0x8]
CMP ECX,EDX
JZ 0x000c39d0
MOV dword ptr [ESI],ECX
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [ESI + 0x8],ECX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [ESI + 0x4],ECX
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x4],0x0
MOV byte ptr [EAX + 0x8],0x0
MOV EAX,dword ptr [EBP + -0x30]
CMP EAX,dword ptr [EBP + -0x3c]
JZ 0x000c39c2
SUB ESP,0xc
MOV EBX,EDI
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [ESI + 0x8],ECX
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [EBX + 0x4],ECX
MOV ECX,dword ptr [EDX + 0x8]
MOV dword ptr [EBX + 0x8],ECX
MOV ECX,dword ptr [EDX + 0xc]
MOV dword ptr [EBX + 0xc],ECX
JMP 0x000c3999
SUB ESP,0xc
LEA EAX,[EDI + 0xffee49c3]
PUSH EAX
CALL 0x0028dc10
(translation_unit "int * FUN_000c3910(int *param_1,int param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}\n\n" (function_definition "int * FUN_000c3910(int *param_1,int param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}" primitive_type (pointer_declarator "* FUN_000c3910(int *param_1,int param_2)" * (function_declarator "FUN_000c3910(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "__s = *(char **)(param_2 + 0x24);" (assignment_expression "__s = *(char **)(param_2 + 0x24)" identifier = (pointer_expression "*(char **)(param_2 + 0x24)" * (cast_expression "(char **)(param_2 + 0x24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);" (call_expression "FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0)" identifier (argument_list "(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0)" ( (pointer_expression "&local_34" & identifier) , (binary_expression "&UNK_00235742 + unaff_EDI" (pointer_expression "&UNK_00235742" & identifier) + identifier) , (binary_expression "unaff_EDI + 0x235751" identifier + number_literal) , number_literal ))) ;) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar1 <= 0x7fffffffU - local_30) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(sVar1 <= 0x7fffffffU - local_30)" ( (binary_expression "sVar1 <= 0x7fffffffU - local_30" identifier <= (binary_expression "0x7fffffffU - local_30" number_literal - identifier)) )) (compound_statement "{\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }" { comment (expression_statement "piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);" (assignment_expression "piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1)" identifier = (cast_expression "(int *)FUN_00251a30(&local_34,__s,sVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00251a30(&local_34,__s,sVar1)" identifier (argument_list "(&local_34,__s,sVar1)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier ))))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" if (parenthesized_expression "((int *)*piVar2 == piVar2 + 2)" ( (binary_expression "(int *)*piVar2 == piVar2 + 2" (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) == (binary_expression "piVar2 + 2" identifier + number_literal)) )) (compound_statement "{\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }" { (expression_statement "param_1[2] = piVar2[2];" (assignment_expression "param_1[2] = piVar2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = piVar2[3];" (assignment_expression "param_1[3] = piVar2[3]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = piVar2[4];" (assignment_expression "param_1[4] = piVar2[4]" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (subscript_expression "piVar2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[5] = piVar2[5];" (assignment_expression "param_1[5] = piVar2[5]" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (subscript_expression "piVar2[5]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" else (compound_statement "{\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" { (expression_statement "*param_1 = *piVar2;" (assignment_expression "*param_1 = *piVar2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "param_1[2] = piVar2[2];" (assignment_expression "param_1[2] = piVar2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "param_1[1] = piVar2[1];" (assignment_expression "param_1[1] = piVar2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 2)" * (cast_expression "(undefined1 *)(piVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      FUN_00248220(local_34);\n    }" { (expression_statement "FUN_00248220(local_34);" (call_expression "FUN_00248220(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_0028dc10(unaff_EDI + 0x2350aa);" (call_expression "FUN_0028dc10(unaff_EDI + 0x2350aa)" identifier (argument_list "(unaff_EDI + 0x2350aa)" ( (binary_expression "unaff_EDI + 0x2350aa" identifier + number_literal) ))) ;) })))
(translation_unit "/* DWARF original prototype: string get_name(Dir_cache_task * this) */\n\nstring * __thiscall\nanon_unknown.dwarf_6d67de::Dir_cache_task::get_name\n          (string *__return_storage_ptr__,Dir_cache_task *this)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  \n  __x86_get_pc_thunk_di();\n  __s = this->dir_;\n  local_34._M_dataplus._M_p = (pointer)&local_34.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffff - local_34._M_string_length) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)std::string::_M_append((char *)&local_34,(uint)__s);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((int *)*piVar2 == piVar2 + 2) {\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }\n    __return_storage_ptr__->_M_string_length = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2) {\n      operator_delete(local_34._M_dataplus._M_p);\n    }\n    return __return_storage_ptr__;\n  }\n                    /* WARNING: Subroutine does not return */\n  std::__throw_length_error(&UNK_002350aa + unaff_EDI);\n}\n\n" comment (ERROR "string * __thiscall\nanon_unknown.dwarf_6d67de::" (binary_expression "string * __thiscall\nanon_unknown.dwarf_6d67de" identifier * (ERROR "__thiscall" identifier) (field_expression "anon_unknown.dwarf_6d67de" identifier . field_identifier)) : :) (labeled_statement "Dir_cache_task::get_name\n          (string *__return_storage_ptr__,Dir_cache_task *this)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  \n  __x86_get_pc_thunk_di();\n  __s = this->dir_;\n  local_34._M_dataplus._M_p = (pointer)&local_34.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffff - local_34._M_string_length) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)std::string::_M_append((char *)&local_34,(uint)__s);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((int *)*piVar2 == piVar2 + 2) {\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }\n    __return_storage_ptr__->_M_string_length = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2) {\n      operator_delete(local_34._M_dataplus._M_p);\n    }\n    return __return_storage_ptr__;\n  }\n                    /* WARNING: Subroutine does not return */\n  std::__throw_length_error(&UNK_002350aa + unaff_EDI);\n}" statement_identifier : (ERROR ":get_name\n          (string *__return_storage_ptr__,Dir_cache_task *this)" : (call_expression "get_name\n          (string *__return_storage_ptr__,Dir_cache_task *this)" identifier (argument_list "(string *__return_storage_ptr__,Dir_cache_task *this)" ( (binary_expression "string *__return_storage_ptr__" identifier * identifier) , (binary_expression "Dir_cache_task *this" identifier * identifier) )))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_34;\n  \n  __x86_get_pc_thunk_di();\n  __s = this->dir_;\n  local_34._M_dataplus._M_p = (pointer)&local_34.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffff - local_34._M_string_length) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)std::string::_M_append((char *)&local_34,(uint)__s);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((int *)*piVar2 == piVar2 + 2) {\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }\n    __return_storage_ptr__->_M_string_length = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2) {\n      operator_delete(local_34._M_dataplus._M_p);\n    }\n    return __return_storage_ptr__;\n  }\n                    /* WARNING: Subroutine does not return */\n  std::__throw_length_error(&UNK_002350aa + unaff_EDI);\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_> local_34;" (binary_expression "allocator<char>_> local_34" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "__s = this->dir_;" (assignment_expression "__s = this->dir_" identifier = (field_expression "this->dir_" identifier -> field_identifier)) ;) (expression_statement "local_34._M_dataplus._M_p = (pointer)&local_34.field_2;" (assignment_expression "local_34._M_dataplus._M_p = (pointer)&local_34.field_2" (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_34.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_34.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0);" (binary_expression "_M_construct<char_const*>(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0)" ( (comma_expression "&local_34,&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0" (pointer_expression "&local_34" & identifier) , (comma_expression "&UNK_00235742 + unaff_EDI,&UNK_00235751 + unaff_EDI,0" (binary_expression "&UNK_00235742 + unaff_EDI" (pointer_expression "&UNK_00235742" & identifier) + identifier) , (comma_expression "&UNK_00235751 + unaff_EDI,0" (binary_expression "&UNK_00235751 + unaff_EDI" (pointer_expression "&UNK_00235751" & identifier) + identifier) , number_literal))) ))) ;)) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar1 <= 0x7fffffff - local_34._M_string_length) {\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)std::string::_M_append((char *)&local_34,(uint)__s);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((int *)*piVar2 == piVar2 + 2) {\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }\n    __return_storage_ptr__->_M_string_length = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2) {\n      operator_delete(local_34._M_dataplus._M_p);\n    }\n    return __return_storage_ptr__;\n  }" if (parenthesized_expression "(sVar1 <= 0x7fffffff - local_34._M_string_length)" ( (binary_expression "sVar1 <= 0x7fffffff - local_34._M_string_length" identifier <= (binary_expression "0x7fffffff - local_34._M_string_length" number_literal - (field_expression "local_34._M_string_length" identifier . field_identifier))) )) (compound_statement "{\n                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */\n    piVar2 = (int *)std::string::_M_append((char *)&local_34,(uint)__s);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((int *)*piVar2 == piVar2 + 2) {\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }\n    __return_storage_ptr__->_M_string_length = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2) {\n      operator_delete(local_34._M_dataplus._M_p);\n    }\n    return __return_storage_ptr__;\n  }" { comment (ERROR "piVar2 = (int *)std::" (assignment_expression "piVar2 = (int *)std" identifier = (cast_expression "(int *)std" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) : :) (labeled_statement "string::_M_append((char *)&local_34,(uint)__s);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append((char *)&local_34,(uint)__s);" (call_expression "_M_append((char *)&local_34,(uint)__s)" identifier (argument_list "((char *)&local_34,(uint)__s)" ( (cast_expression "(char *)&local_34" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_34" & identifier)) , (cast_expression "(uint)__s" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;)) (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2" (field_expression "(__return_storage_ptr__->_M_dataplus)._M_p" (parenthesized_expression "(__return_storage_ptr__->_M_dataplus)" ( (field_expression "__return_storage_ptr__->_M_dataplus" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pointer)&__return_storage_ptr__->field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) ;) (if_statement "if ((int *)*piVar2 == piVar2 + 2) {\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }" if (parenthesized_expression "((int *)*piVar2 == piVar2 + 2)" ( (binary_expression "(int *)*piVar2 == piVar2 + 2" (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) == (binary_expression "piVar2 + 2" identifier + number_literal)) )) (compound_statement "{\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];\n      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];\n    }" { (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2]" (field_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity" (parenthesized_expression "(__return_storage_ptr__->field_2)" ( (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier) )) . field_identifier) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "*(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3];" (assignment_expression "*(int *)((int)&__return_storage_ptr__->field_2 + 4) = piVar2[3]" (pointer_expression "*(int *)((int)&__return_storage_ptr__->field_2 + 4)" * (cast_expression "(int *)((int)&__return_storage_ptr__->field_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->field_2 + 4)" ( (binary_expression "(int)&__return_storage_ptr__->field_2 + 4" (cast_expression "(int)&__return_storage_ptr__->field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4];" (assignment_expression "*(int *)((int)&__return_storage_ptr__->field_2 + 8) = piVar2[4]" (pointer_expression "*(int *)((int)&__return_storage_ptr__->field_2 + 8)" * (cast_expression "(int *)((int)&__return_storage_ptr__->field_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->field_2 + 8)" ( (binary_expression "(int)&__return_storage_ptr__->field_2 + 8" (cast_expression "(int)&__return_storage_ptr__->field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = (subscript_expression "piVar2[4]" identifier [ number_literal ])) ;) (expression_statement "*(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5];" (assignment_expression "*(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = piVar2[5]" (pointer_expression "*(int *)((int)&__return_storage_ptr__->field_2 + 0xc)" * (cast_expression "(int *)((int)&__return_storage_ptr__->field_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->field_2 + 0xc)" ( (binary_expression "(int)&__return_storage_ptr__->field_2 + 0xc" (cast_expression "(int)&__return_storage_ptr__->field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = (subscript_expression "piVar2[5]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }" else (compound_statement "{\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];\n    }" { (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*piVar2" (field_expression "(__return_storage_ptr__->_M_dataplus)._M_p" (parenthesized_expression "(__return_storage_ptr__->_M_dataplus)" ( (field_expression "__return_storage_ptr__->_M_dataplus" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pointer)*piVar2" (parenthesized_expression "(pointer)" ( identifier )) * identifier)) ;) (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2];" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity = piVar2[2]" (field_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity" (parenthesized_expression "(__return_storage_ptr__->field_2)" ( (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier) )) . field_identifier) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "__return_storage_ptr__->_M_string_length = piVar2[1];" (assignment_expression "__return_storage_ptr__->_M_string_length = piVar2[1]" (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 2)" * (cast_expression "(undefined1 *)(piVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2) {\n      operator_delete(local_34._M_dataplus._M_p);\n    }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n         *)local_34._M_dataplus._M_p != &local_34.field_2" (binary_expression "allocator<char>_>_9\n         *)local_34._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n         *)local_34._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&local_34.field_2" & (field_expression "local_34.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n      operator_delete(local_34._M_dataplus._M_p);\n    }" { (expression_statement "operator_delete(local_34._M_dataplus._M_p);" (call_expression "operator_delete(local_34._M_dataplus._M_p)" identifier (argument_list "(local_34._M_dataplus._M_p)" ( (field_expression "local_34._M_dataplus._M_p" (field_expression "local_34._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return __return_storage_ptr__;" return identifier ;) })) comment (labeled_statement "std::__throw_length_error(&UNK_002350aa + unaff_EDI);" statement_identifier : (ERROR ":" :) (expression_statement "__throw_length_error(&UNK_002350aa + unaff_EDI);" (call_expression "__throw_length_error(&UNK_002350aa + unaff_EDI)" identifier (argument_list "(&UNK_002350aa + unaff_EDI)" ( (binary_expression "&UNK_002350aa + unaff_EDI" (pointer_expression "&UNK_002350aa" & identifier) + identifier) ))) ;)) })))
(translation_unit "int * FUN_000c3910(int *param_1,int param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    \n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}\n\n" (function_definition "int * FUN_000c3910(int *param_1,int param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    \n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}" primitive_type (pointer_declarator "* FUN_000c3910(int *param_1,int param_2)" * (function_declarator "FUN_000c3910(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    \n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "__s = *(char **)(param_2 + 0x24);" (assignment_expression "__s = *(char **)(param_2 + 0x24)" identifier = (pointer_expression "*(char **)(param_2 + 0x24)" * (cast_expression "(char **)(param_2 + 0x24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);" (call_expression "FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0)" identifier (argument_list "(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0)" ( (pointer_expression "&local_34" & identifier) , (binary_expression "&UNK_00235742 + unaff_EDI" (pointer_expression "&UNK_00235742" & identifier) + identifier) , (binary_expression "unaff_EDI + 0x235751" identifier + number_literal) , number_literal ))) ;) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }" if (parenthesized_expression "(sVar1 <= 0x7fffffffU - local_30)" ( (binary_expression "sVar1 <= 0x7fffffffU - local_30" identifier <= (binary_expression "0x7fffffffU - local_30" number_literal - identifier)) )) (compound_statement "{\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }" { (expression_statement "piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);" (assignment_expression "piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1)" identifier = (cast_expression "(int *)FUN_00251a30(&local_34,__s,sVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00251a30(&local_34,__s,sVar1)" identifier (argument_list "(&local_34,__s,sVar1)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier ))))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" if (parenthesized_expression "((int *)*piVar2 == piVar2 + 2)" ( (binary_expression "(int *)*piVar2 == piVar2 + 2" (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier)) == (binary_expression "piVar2 + 2" identifier + number_literal)) )) (compound_statement "{\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }" { (expression_statement "param_1[2] = piVar2[2];" (assignment_expression "param_1[2] = piVar2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = piVar2[3];" (assignment_expression "param_1[3] = piVar2[3]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = piVar2[4];" (assignment_expression "param_1[4] = piVar2[4]" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (subscript_expression "piVar2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[5] = piVar2[5];" (assignment_expression "param_1[5] = piVar2[5]" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (subscript_expression "piVar2[5]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" else (compound_statement "{\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" { (expression_statement "*param_1 = *piVar2;" (assignment_expression "*param_1 = *piVar2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "param_1[2] = piVar2[2];" (assignment_expression "param_1[2] = piVar2[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) }))) (expression_statement "param_1[1] = piVar2[1];" (assignment_expression "param_1[1] = piVar2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" * identifier) = (cast_expression "(int)(piVar2 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(piVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 2)" * (cast_expression "(undefined1 *)(piVar2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n      FUN_00248220(local_34);\n    }" { (expression_statement "FUN_00248220(local_34);" (call_expression "FUN_00248220(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_0028dc10(unaff_EDI + 0x2350aa);" (call_expression "FUN_0028dc10(unaff_EDI + 0x2350aa)" identifier (argument_list "(unaff_EDI + 0x2350aa)" ( (binary_expression "unaff_EDI + 0x2350aa" identifier + number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression (pointer_expression & IDENT) + IDENT) , (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression LIT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) })))
(function_definition "int * FUN_000c3910(int *param_1,int param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    \n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}" (primitive_type "int") (pointer_declarator "* FUN_000c3910(int *param_1,int param_2)" (* "*") (function_declarator "FUN_000c3910(int *param_1,int param_2)" (identifier "FUN_000c3910") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  int *piVar2;\n  int unaff_EDI;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  FUN_000b484e();\n  __s = *(char **)(param_2 + 0x24);\n  local_34 = local_2c;\n  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);\n  sVar1 = strlen(__s);\n  if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }\n                    \n  FUN_0028dc10(unaff_EDI + 0x2350aa);\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [28];" (type_identifier "undefined1") (array_declarator "local_2c [28]" (identifier "local_2c") ([ "[") (number_literal "28") (] "]")) (; ";")) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" (identifier "FUN_000b484e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "__s = *(char **)(param_2 + 0x24);" (assignment_expression "__s = *(char **)(param_2 + 0x24)" (identifier "__s") (= "=") (pointer_expression "*(char **)(param_2 + 0x24)" (* "*") (cast_expression "(char **)(param_2 + 0x24)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);" (call_expression "FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0)" (identifier "FUN_000a8880") (argument_list "(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (binary_expression "&UNK_00235742 + unaff_EDI" (pointer_expression "&UNK_00235742" (& "&") (identifier "UNK_00235742")) (+ "+") (identifier "unaff_EDI")) (, ",") (binary_expression "unaff_EDI + 0x235751" (identifier "unaff_EDI") (+ "+") (number_literal "0x235751")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "sVar1 = strlen(__s);" (assignment_expression "sVar1 = strlen(__s)" (identifier "sVar1") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (if_statement "if (sVar1 <= 0x7fffffffU - local_30) {\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }" (if "if") (parenthesized_expression "(sVar1 <= 0x7fffffffU - local_30)" (( "(") (binary_expression "sVar1 <= 0x7fffffffU - local_30" (identifier "sVar1") (<= "<=") (binary_expression "0x7fffffffU - local_30" (number_literal "0x7fffffffU") (- "-") (identifier "local_30"))) () ")")) (compound_statement "{\n                    \n    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);\n    *param_1 = (int)(param_1 + 2);\n    if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }\n    param_1[1] = piVar2[1];\n    *piVar2 = (int)(piVar2 + 2);\n    piVar2[1] = 0;\n    *(undefined1 *)(piVar2 + 2) = 0;\n    if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }\n    return param_1;\n  }" ({ "{") (expression_statement "piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);" (assignment_expression "piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_00251a30(&local_34,__s,sVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00251a30(&local_34,__s,sVar1)" (identifier "FUN_00251a30") (argument_list "(&local_34,__s,sVar1)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "__s") (, ",") (identifier "sVar1") () ")"))))) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if ((int *)*piVar2 == piVar2 + 2) {\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }\n    else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" (if "if") (parenthesized_expression "((int *)*piVar2 == piVar2 + 2)" (( "(") (binary_expression "(int *)*piVar2 == piVar2 + 2" (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (== "==") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n      param_1[2] = piVar2[2];\n      param_1[3] = piVar2[3];\n      param_1[4] = piVar2[4];\n      param_1[5] = piVar2[5];\n    }" ({ "{") (expression_statement "param_1[2] = piVar2[2];" (assignment_expression "param_1[2] = piVar2[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[3] = piVar2[3];" (assignment_expression "param_1[3] = piVar2[3]" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[4] = piVar2[4];" (assignment_expression "param_1[4] = piVar2[4]" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "param_1[5] = piVar2[5];" (assignment_expression "param_1[5] = piVar2[5]" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" (else "else") (compound_statement "{\n      *param_1 = *piVar2;\n      param_1[2] = piVar2[2];\n    }" ({ "{") (expression_statement "*param_1 = *piVar2;" (assignment_expression "*param_1 = *piVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "param_1[2] = piVar2[2];" (assignment_expression "param_1[2] = piVar2[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "param_1[1] = piVar2[1];" (assignment_expression "param_1[1] = piVar2[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*piVar2 = (int)(piVar2 + 2);" (assignment_expression "*piVar2 = (int)(piVar2 + 2)" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (cast_expression "(int)(piVar2 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(piVar2 + 2) = 0;" (assignment_expression "*(undefined1 *)(piVar2 + 2) = 0" (pointer_expression "*(undefined1 *)(piVar2 + 2)" (* "*") (cast_expression "(undefined1 *)(piVar2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_34 != local_2c) {\n      FUN_00248220(local_34);\n    }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n      FUN_00248220(local_34);\n    }" ({ "{") (expression_statement "FUN_00248220(local_34);" (call_expression "FUN_00248220(local_34)" (identifier "FUN_00248220") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_0028dc10(unaff_EDI + 0x2350aa);" (call_expression "FUN_0028dc10(unaff_EDI + 0x2350aa)" (identifier "FUN_0028dc10") (argument_list "(unaff_EDI + 0x2350aa)" (( "(") (binary_expression "unaff_EDI + 0x2350aa" (identifier "unaff_EDI") (+ "+") (number_literal "0x2350aa")) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: string get_name(Dir_cache_task * this) */

string * __thiscall
anon_unknown.dwarf_6d67de::Dir_cache_task::get_name
          (string *__return_storage_ptr__,Dir_cache_task *this)

{
  char *__s;
  size_t var_10;
  int *var_12;
  int var_8;
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_4;
  
  var_5();
  __s = this->dir_;
  var_4._M_dataplus._M_p = (pointer)&var_4.field_2;
  std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::
  var_6<var_7*>(&var_4,&UNK_00235742 + var_8,&UNK_00235751 + var_8,0);
  var_10 = var_9(__s);
  if (var_10 <= 0x7fffffff - var_4._M_string_length) {
                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */
    var_12 = (int *)std::string::var_11((char *)&var_4,(type_1)__s);
    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
    if ((int *)*var_12 == var_12 + 2) {
      (__return_storage_ptr__->field_2)._M_allocated_capacity = var_12[2];
      *(int *)((int)&__return_storage_ptr__->field_2 + 4) = var_12[3];
      *(int *)((int)&__return_storage_ptr__->field_2 + 8) = var_12[4];
      *(int *)((int)&__return_storage_ptr__->field_2 + 0xc) = var_12[5];
    }
    else {
      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*var_12;
      (__return_storage_ptr__->field_2)._M_allocated_capacity = var_12[2];
    }
    __return_storage_ptr__->_M_string_length = var_12[1];
    *var_12 = (int)(var_12 + 2);
    var_12[1] = 0;
    *(type_2 *)(var_12 + 2) = 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_13
         *)var_4._M_dataplus._M_p != &var_4.field_2) {
      var_14(var_4._M_dataplus._M_p);
    }
    return __return_storage_ptr__;
  }
                    /* WARNING: Subroutine does not return */
  std::var_15(&UNK_002350aa + var_8);
}


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

int * MASKED(int *param_1,int param_2)

{
  char *__s;
  size_t sVar1;
  int *piVar2;
  int unaff_EDI;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [28];
  
  FUN_000b484e();
  __s = *(char **)(param_2 + 0x24);
  local_34 = local_2c;
  FUN_000a8880(&local_34,&UNK_00235742 + unaff_EDI,unaff_EDI + 0x235751,0);
  sVar1 = strlen(__s);
  if (sVar1 <= 0x7fffffffU - local_30) {
                    /* try { // try from 000c3979 to 000c39f8 has its CatchHandler @ 000c39f9 */
    piVar2 = (int *)FUN_00251a30(&local_34,__s,sVar1);
    *param_1 = (int)(param_1 + 2);
    if ((int *)*piVar2 == piVar2 + 2) {
      param_1[2] = piVar2[2];
      param_1[3] = piVar2[3];
      param_1[4] = piVar2[4];
      param_1[5] = piVar2[5];
    }
    else {
      *param_1 = *piVar2;
      param_1[2] = piVar2[2];
    }
    param_1[1] = piVar2[1];
    *piVar2 = (int)(piVar2 + 2);
    piVar2[1] = 0;
    *(undefined1 *)(piVar2 + 2) = 0;
    if (local_34 != local_2c) {
      FUN_00248220(local_34);
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0028dc10(unaff_EDI + 0x2350aa);
}

