
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: string get_name(Check_library * this) */

string * __thiscall
gold::Check_library::get_name(string *__return_storage_ptr__,Check_library *this)

{
  long lVar1;
  int iVar2;
  undefined4 extraout_var;
  size_t sVar3;
  long *plVar4;
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;
  
  iVar2 = (*this->input_reader_->_vptr_Input_reader[2])();
  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&local_38,"Check_library ");
  sVar3 = strlen((char *)CONCAT44(extraout_var,iVar2));
  if (sVar3 <= 0x7fffffffffffffff - local_38._M_string_length) {
                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */
    plVar4 = (long *)std::string::_M_append
                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);
    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
    if ((long *)*plVar4 == plVar4 + 2) {
      lVar1 = plVar4[3];
      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];
      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;
    }
    else {
      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;
      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];
    }
    __return_storage_ptr__->_M_string_length = plVar4[1];
    *plVar4 = (long)(plVar4 + 2);
    plVar4[1] = 0;
    *(undefined1 *)(plVar4 + 2) = 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 __return_storage_ptr__;
  }
                    /* WARNING: Subroutine does not return */
  std::__throw_length_error("basic_string::append");
}



long * FUN_002417c0(long *param_1,long param_2)

{
  long lVar1;
  char *__s;
  size_t sVar2;
  long *plVar3;
  undefined1 *local_38;
  long local_30;
  undefined1 local_28 [16];
  
  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();
  local_38 = local_28;
  FUN_001665c0(&local_38,"Check_library ");
  sVar2 = strlen(__s);
  if (sVar2 <= 0x7fffffffffffffffU - local_30) {
                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */
    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);
    *param_1 = (long)(param_1 + 2);
    if ((long *)*plVar3 == plVar3 + 2) {
      lVar1 = plVar3[3];
      param_1[2] = plVar3[2];
      param_1[3] = lVar1;
    }
    else {
      *param_1 = *plVar3;
      param_1[2] = plVar3[2];
    }
    param_1[1] = plVar3[1];
    *plVar3 = (long)(plVar3 + 2);
    plVar3[1] = 0;
    *(undefined1 *)(plVar3 + 2) = 0;
    if (local_38 != local_28) {
      FUN_002dac60();
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00319590("basic_string::append");
}


PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x20
MOV RDI,qword ptr [RSI + 0x50]
MOV RBX,RSP
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x10]
LEA RDX,[0x382ca8]
MOV RDI,RBX
MOV R12,RAX
LEA RSI,[RDX + -0xe]
LEA RAX,[RBX + 0x10]
MOV qword ptr [RSP],RAX
CALL 0x001665c0
MOV RDI,R12
CALL 0x00147490
MOV RCX,0x7fffffffffffffff
SUB RCX,qword ptr [RSP + 0x8]
CMP RAX,RCX
JA 0x00241883
MOV RDX,RAX
MOV RSI,R12
MOV RDI,RBX
CALL 0x002e2ee0
LEA RDX,[RBP + 0x10]
MOV qword ptr [RBP],RDX
MOV RCX,qword ptr [RAX]
LEA RDX,[RAX + 0x10]
CMP RCX,RDX
JZ 0x00241878
MOV qword ptr [RBP],RCX
MOV RCX,qword ptr [RAX + 0x10]
MOV qword ptr [RBP + 0x10],RCX
MOV RCX,qword ptr [RAX + 0x8]
ADD RBX,0x10
MOV qword ptr [RBP + 0x8],RCX
MOV qword ptr [RAX],RDX
MOV RDI,qword ptr [RSP]
MOV qword ptr [RAX + 0x8],0x0
MOV byte ptr [RAX + 0x10],0x0
CMP RDI,RBX
JZ 0x00241869
CALL 0x002dac60
ADD RSP,0x20
MOV RAX,RBP
POP RBX
POP RBP
POP R12
RET
MOVDQU XMM0,xmmword ptr [RAX + 0x10]
MOVUPS xmmword ptr [RBP + 0x10],XMM0
JMP 0x00241840
LEA RDI,[0x371fa2]
CALL 0x00319590
(translation_unit "long * FUN_002417c0(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319590("basic_string::append");\n}\n\n" (function_definition "long * FUN_002417c0(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319590("basic_string::append");\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002417c0(long *param_1,long param_2)" * (function_declarator "FUN_002417c0(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00319590("basic_string::append");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "undefined1 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 local_28 [16];" type_identifier (array_declarator "local_28 [16]" identifier [ number_literal ]) ;) (expression_statement "__s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();" (assignment_expression "__s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" identifier = (cast_expression "(char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" (parenthesized_expression "(**(code **)(**(long **)(param_2 + 0x50) + 0x10))" ( (pointer_expression "**(code **)(**(long **)(param_2 + 0x50) + 0x10)" * (pointer_expression "*(code **)(**(long **)(param_2 + 0x50) + 0x10)" * (cast_expression "(code **)(**(long **)(param_2 + 0x50) + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(param_2 + 0x50) + 0x10)" ( (binary_expression "**(long **)(param_2 + 0x50) + 0x10" (pointer_expression "**(long **)(param_2 + 0x50)" * (pointer_expression "*(long **)(param_2 + 0x50)" * (cast_expression "(long **)(param_2 + 0x50)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" identifier = identifier) ;) (expression_statement "FUN_001665c0(&local_38,"Check_library ");" (call_expression "FUN_001665c0(&local_38,"Check_library ")" identifier (argument_list "(&local_38,"Check_library ")" ( (pointer_expression "&local_38" & identifier) , (string_literal ""Check_library "" " string_content ") ))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }" if (parenthesized_expression "(sVar2 <= 0x7fffffffffffffffU - local_30)" ( (binary_expression "sVar2 <= 0x7fffffffffffffffU - local_30" identifier <= (binary_expression "0x7fffffffffffffffU - local_30" number_literal - identifier)) )) (compound_statement "{\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }" { comment (expression_statement "plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);" (assignment_expression "plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2)" identifier = (cast_expression "(long *)FUN_002e2ee0(&local_38,__s,sVar2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002e2ee0(&local_38,__s,sVar2)" identifier (argument_list "(&local_38,__s,sVar2)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))))) ;) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(param_1 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" if (parenthesized_expression "((long *)*plVar3 == plVar3 + 2)" ( (binary_expression "(long *)*plVar3 == plVar3 + 2" (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier)) == (binary_expression "plVar3 + 2" identifier + number_literal)) )) (compound_statement "{\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }" { (expression_statement "lVar1 = plVar3[3];" (assignment_expression "lVar1 = plVar3[3]" identifier = (subscript_expression "plVar3[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = plVar3[2];" (assignment_expression "param_1[2] = plVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "plVar3[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = lVar1;" (assignment_expression "param_1[3] = lVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" else (compound_statement "{\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" { (expression_statement "*param_1 = *plVar3;" (assignment_expression "*param_1 = *plVar3" (pointer_expression "*param_1" * identifier) = (pointer_expression "*plVar3" * identifier)) ;) (expression_statement "param_1[2] = plVar3[2];" (assignment_expression "param_1[2] = plVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "plVar3[2]" identifier [ number_literal ])) ;) }))) (expression_statement "param_1[1] = plVar3[1];" (assignment_expression "param_1[1] = plVar3[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "plVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*plVar3 = (long)(plVar3 + 2);" (assignment_expression "*plVar3 = (long)(plVar3 + 2)" (pointer_expression "*plVar3" * identifier) = (cast_expression "(long)(plVar3 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar3 + 2)" ( (binary_expression "plVar3 + 2" identifier + number_literal) )))) ;) (expression_statement "plVar3[1] = 0;" (assignment_expression "plVar3[1] = 0" (subscript_expression "plVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(plVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(plVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(plVar3 + 2)" * (cast_expression "(undefined1 *)(plVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar3 + 2)" ( (binary_expression "plVar3 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (local_38 != local_28) {\n      FUN_002dac60();\n    }" if (parenthesized_expression "(local_38 != local_28)" ( (binary_expression "local_38 != local_28" identifier != identifier) )) (compound_statement "{\n      FUN_002dac60();\n    }" { (expression_statement "FUN_002dac60();" (call_expression "FUN_002dac60()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_00319590("basic_string::append");" (call_expression "FUN_00319590("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: string get_name(Check_library * this) */\n\nstring * __thiscall\ngold::Check_library::get_name(string *__return_storage_ptr__,Check_library *this)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined4 extraout_var;\n  size_t sVar3;\n  long *plVar4;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;\n  \n  iVar2 = (*this->input_reader_->_vptr_Input_reader[2])();\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,"Check_library ");\n  sVar3 = strlen((char *)CONCAT44(extraout_var,iVar2));\n  if (sVar3 <= 0x7fffffffffffffff - local_38._M_string_length) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar4 = (long *)std::string::_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((long *)*plVar4 == plVar4 + 2) {\n      lVar1 = plVar4[3];\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }\n    __return_storage_ptr__->_M_string_length = plVar4[1];\n    *plVar4 = (long)(plVar4 + 2);\n    plVar4[1] = 0;\n    *(undefined1 *)(plVar4 + 2) = 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 __return_storage_ptr__;\n  }\n                    /* WARNING: Subroutine does not return */\n  std::__throw_length_error("basic_string::append");\n}\n\n" comment comment (ERROR "string * __thiscall\ngold::Check_library::get_name(string *__return_storage_ptr__,Check_library *this)" (binary_expression "string * __thiscall\ngold::Check_library::get_name(string *__return_storage_ptr__,Check_library *this" (binary_expression "string * __thiscall\ngold::Check_library::get_name(string *__return_storage_ptr__" (binary_expression "string * __thiscall" identifier * identifier) (ERROR "gold::Check_library::get_name(string" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Check_library" , identifier) * identifier) )) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined4 extraout_var;\n  size_t sVar3;\n  long *plVar4;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;\n  \n  iVar2 = (*this->input_reader_->_vptr_Input_reader[2])();\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,"Check_library ");\n  sVar3 = strlen((char *)CONCAT44(extraout_var,iVar2));\n  if (sVar3 <= 0x7fffffffffffffff - local_38._M_string_length) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar4 = (long *)std::string::_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((long *)*plVar4 == plVar4 + 2) {\n      lVar1 = plVar4[3];\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }\n    __return_storage_ptr__->_M_string_length = plVar4[1];\n    *plVar4 = (long)(plVar4 + 2);\n    plVar4[1] = 0;\n    *(undefined1 *)(plVar4 + 2) = 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 __return_storage_ptr__;\n  }\n                    /* WARNING: Subroutine does not return */\n  std::__throw_length_error("basic_string::append");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * 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 "iVar2 = (*this->input_reader_->_vptr_Input_reader[2])();" (assignment_expression "iVar2 = (*this->input_reader_->_vptr_Input_reader[2])()" identifier = (call_expression "(*this->input_reader_->_vptr_Input_reader[2])()" (parenthesized_expression "(*this->input_reader_->_vptr_Input_reader[2])" ( (pointer_expression "*this->input_reader_->_vptr_Input_reader[2]" * (subscript_expression "this->input_reader_->_vptr_Input_reader[2]" (field_expression "this->input_reader_->_vptr_Input_reader" (field_expression "this->input_reader_" identifier -> field_identifier) -> field_identifier) [ number_literal ])) )) (argument_list "()" ( )))) ;) (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))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&local_38,"Check_library ");" 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,"Check_library ");" (binary_expression "_M_construct<char_const*>(&local_38,"Check_library ")" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_38,"Check_library ")" ( (comma_expression "&local_38,"Check_library "" (pointer_expression "&local_38" & identifier) , (string_literal ""Check_library "" " string_content ")) ))) ;)) (expression_statement "sVar3 = strlen((char *)CONCAT44(extraout_var,iVar2));" (assignment_expression "sVar3 = strlen((char *)CONCAT44(extraout_var,iVar2))" identifier = (call_expression "strlen((char *)CONCAT44(extraout_var,iVar2))" identifier (argument_list "((char *)CONCAT44(extraout_var,iVar2))" ( (cast_expression "(char *)CONCAT44(extraout_var,iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var,iVar2)" identifier (argument_list "(extraout_var,iVar2)" ( identifier , identifier )))) )))) ;) (if_statement "if (sVar3 <= 0x7fffffffffffffff - local_38._M_string_length) {\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar4 = (long *)std::string::_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((long *)*plVar4 == plVar4 + 2) {\n      lVar1 = plVar4[3];\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }\n    __return_storage_ptr__->_M_string_length = plVar4[1];\n    *plVar4 = (long)(plVar4 + 2);\n    plVar4[1] = 0;\n    *(undefined1 *)(plVar4 + 2) = 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 __return_storage_ptr__;\n  }" if (parenthesized_expression "(sVar3 <= 0x7fffffffffffffff - local_38._M_string_length)" ( (binary_expression "sVar3 <= 0x7fffffffffffffff - local_38._M_string_length" identifier <= (binary_expression "0x7fffffffffffffff - local_38._M_string_length" number_literal - (field_expression "local_38._M_string_length" identifier . field_identifier))) )) (compound_statement "{\n                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */\n    plVar4 = (long *)std::string::_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n    if ((long *)*plVar4 == plVar4 + 2) {\n      lVar1 = plVar4[3];\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }\n    __return_storage_ptr__->_M_string_length = plVar4[1];\n    *plVar4 = (long)(plVar4 + 2);\n    plVar4[1] = 0;\n    *(undefined1 *)(plVar4 + 2) = 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 __return_storage_ptr__;\n  }" { comment (ERROR "plVar4 = (long *)std::" (assignment_expression "plVar4 = (long *)std" identifier = (cast_expression "(long *)std" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) : :) (labeled_statement "string::_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3);" (call_expression "_M_append\n                               ((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3)" identifier (argument_list "((string *)&local_38,(char *)CONCAT44(extraout_var,iVar2),sVar3)" ( (cast_expression "(string *)&local_38" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_38" & identifier)) , (cast_expression "(char *)CONCAT44(extraout_var,iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(extraout_var,iVar2)" identifier (argument_list "(extraout_var,iVar2)" ( identifier , 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 ((long *)*plVar4 == plVar4 + 2) {\n      lVar1 = plVar4[3];\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;\n    }\n    else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }" if (parenthesized_expression "((long *)*plVar4 == plVar4 + 2)" ( (binary_expression "(long *)*plVar4 == plVar4 + 2" (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier)) == (binary_expression "plVar4 + 2" identifier + number_literal)) )) (compound_statement "{\n      lVar1 = plVar4[3];\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;\n    }" { (expression_statement "lVar1 = plVar4[3];" (assignment_expression "lVar1 = plVar4[3]" identifier = (subscript_expression "plVar4[3]" identifier [ number_literal ])) ;) (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[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 "plVar4[2]" identifier [ number_literal ])) ;) (expression_statement "*(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;" (assignment_expression "*(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1" (pointer_expression "*(long *)((long)&__return_storage_ptr__->field_2 + 8)" * (cast_expression "(long *)((long)&__return_storage_ptr__->field_2 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&__return_storage_ptr__->field_2 + 8)" ( (binary_expression "(long)&__return_storage_ptr__->field_2 + 8" (cast_expression "(long)&__return_storage_ptr__->field_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }" else (compound_statement "{\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;\n      (__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];\n    }" { (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*plVar4" (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)*plVar4" (parenthesized_expression "(pointer)" ( identifier )) * identifier)) ;) (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[2];" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity = plVar4[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 "plVar4[2]" identifier [ number_literal ])) ;) }))) (expression_statement "__return_storage_ptr__->_M_string_length = plVar4[1];" (assignment_expression "__return_storage_ptr__->_M_string_length = plVar4[1]" (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier) = (subscript_expression "plVar4[1]" identifier [ number_literal ])) ;) (expression_statement "*plVar4 = (long)(plVar4 + 2);" (assignment_expression "*plVar4 = (long)(plVar4 + 2)" (pointer_expression "*plVar4" * identifier) = (cast_expression "(long)(plVar4 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar4 + 2)" ( (binary_expression "plVar4 + 2" identifier + number_literal) )))) ;) (expression_statement "plVar4[1] = 0;" (assignment_expression "plVar4[1] = 0" (subscript_expression "plVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(plVar4 + 2) = 0;" (assignment_expression "*(undefined1 *)(plVar4 + 2) = 0" (pointer_expression "*(undefined1 *)(plVar4 + 2)" * (cast_expression "(undefined1 *)(plVar4 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar4 + 2)" ( (binary_expression "plVar4 + 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_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 __return_storage_ptr__;" return identifier ;) })) comment (labeled_statement "std::__throw_length_error("basic_string::append");" statement_identifier : (ERROR ":" :) (expression_statement "__throw_length_error("basic_string::append");" (call_expression "__throw_length_error("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;)) }))
(translation_unit "long * FUN_002417c0(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    \n  FUN_00319590("basic_string::append");\n}\n\n" (function_definition "long * FUN_002417c0(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    \n  FUN_00319590("basic_string::append");\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002417c0(long *param_1,long param_2)" * (function_declarator "FUN_002417c0(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    \n  FUN_00319590("basic_string::append");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "undefined1 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 local_28 [16];" type_identifier (array_declarator "local_28 [16]" identifier [ number_literal ]) ;) (expression_statement "__s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();" (assignment_expression "__s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" identifier = (cast_expression "(char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" (parenthesized_expression "(**(code **)(**(long **)(param_2 + 0x50) + 0x10))" ( (pointer_expression "**(code **)(**(long **)(param_2 + 0x50) + 0x10)" * (pointer_expression "*(code **)(**(long **)(param_2 + 0x50) + 0x10)" * (cast_expression "(code **)(**(long **)(param_2 + 0x50) + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(param_2 + 0x50) + 0x10)" ( (binary_expression "**(long **)(param_2 + 0x50) + 0x10" (pointer_expression "**(long **)(param_2 + 0x50)" * (pointer_expression "*(long **)(param_2 + 0x50)" * (cast_expression "(long **)(param_2 + 0x50)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" identifier = identifier) ;) (expression_statement "FUN_001665c0(&local_38,"Check_library ");" (call_expression "FUN_001665c0(&local_38,"Check_library ")" identifier (argument_list "(&local_38,"Check_library ")" ( (pointer_expression "&local_38" & identifier) , (string_literal ""Check_library "" " string_content ") ))) ;) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }" if (parenthesized_expression "(sVar2 <= 0x7fffffffffffffffU - local_30)" ( (binary_expression "sVar2 <= 0x7fffffffffffffffU - local_30" identifier <= (binary_expression "0x7fffffffffffffffU - local_30" number_literal - identifier)) )) (compound_statement "{\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }" { (expression_statement "plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);" (assignment_expression "plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2)" identifier = (cast_expression "(long *)FUN_002e2ee0(&local_38,__s,sVar2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002e2ee0(&local_38,__s,sVar2)" identifier (argument_list "(&local_38,__s,sVar2)" ( (pointer_expression "&local_38" & identifier) , identifier , identifier ))))) ;) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(param_1 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" if (parenthesized_expression "((long *)*plVar3 == plVar3 + 2)" ( (binary_expression "(long *)*plVar3 == plVar3 + 2" (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier)) == (binary_expression "plVar3 + 2" identifier + number_literal)) )) (compound_statement "{\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }" { (expression_statement "lVar1 = plVar3[3];" (assignment_expression "lVar1 = plVar3[3]" identifier = (subscript_expression "plVar3[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = plVar3[2];" (assignment_expression "param_1[2] = plVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "plVar3[2]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = lVar1;" (assignment_expression "param_1[3] = lVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" else (compound_statement "{\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" { (expression_statement "*param_1 = *plVar3;" (assignment_expression "*param_1 = *plVar3" (pointer_expression "*param_1" * identifier) = (pointer_expression "*plVar3" * identifier)) ;) (expression_statement "param_1[2] = plVar3[2];" (assignment_expression "param_1[2] = plVar3[2]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "plVar3[2]" identifier [ number_literal ])) ;) }))) (expression_statement "param_1[1] = plVar3[1];" (assignment_expression "param_1[1] = plVar3[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "plVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*plVar3 = (long)(plVar3 + 2);" (assignment_expression "*plVar3 = (long)(plVar3 + 2)" (pointer_expression "*plVar3" * identifier) = (cast_expression "(long)(plVar3 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar3 + 2)" ( (binary_expression "plVar3 + 2" identifier + number_literal) )))) ;) (expression_statement "plVar3[1] = 0;" (assignment_expression "plVar3[1] = 0" (subscript_expression "plVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(plVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(plVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(plVar3 + 2)" * (cast_expression "(undefined1 *)(plVar3 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar3 + 2)" ( (binary_expression "plVar3 + 2" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (local_38 != local_28) {\n      FUN_002dac60();\n    }" if (parenthesized_expression "(local_38 != local_28)" ( (binary_expression "local_38 != local_28" identifier != identifier) )) (compound_statement "{\n      FUN_002dac60();\n    }" { (expression_statement "FUN_002dac60();" (call_expression "FUN_002dac60()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_00319590("basic_string::append");" (call_expression "FUN_00319590("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) )))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (string_literal " string_content ") ))) ;) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (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 (sized_type_specifier long)) ) (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 ( ))) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })))
(function_definition "long * FUN_002417c0(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    \n  FUN_00319590("basic_string::append");\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_002417c0(long *param_1,long param_2)" (* "*") (function_declarator "FUN_002417c0(long *param_1,long param_2)" (identifier "FUN_002417c0") (parameter_list "(long *param_1,long param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")")))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  long *plVar3;\n  undefined1 *local_38;\n  long local_30;\n  undefined1 local_28 [16];\n  \n  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();\n  local_38 = local_28;\n  FUN_001665c0(&local_38,"Check_library ");\n  sVar2 = strlen(__s);\n  if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }\n                    \n  FUN_00319590("basic_string::append");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "undefined1 *local_38;" (type_identifier "undefined1") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "long local_30;" (sized_type_specifier "long" (long "long")) (identifier "local_30") (; ";")) (declaration "undefined1 local_28 [16];" (type_identifier "undefined1") (array_declarator "local_28 [16]" (identifier "local_28") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "__s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();" (assignment_expression "__s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" (identifier "__s") (= "=") (cast_expression "(char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(**(long **)(param_2 + 0x50) + 0x10))()" (parenthesized_expression "(**(code **)(**(long **)(param_2 + 0x50) + 0x10))" (( "(") (pointer_expression "**(code **)(**(long **)(param_2 + 0x50) + 0x10)" (* "*") (pointer_expression "*(code **)(**(long **)(param_2 + 0x50) + 0x10)" (* "*") (cast_expression "(code **)(**(long **)(param_2 + 0x50) + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(long **)(param_2 + 0x50) + 0x10)" (( "(") (binary_expression "**(long **)(param_2 + 0x50) + 0x10" (pointer_expression "**(long **)(param_2 + 0x50)" (* "*") (pointer_expression "*(long **)(param_2 + 0x50)" (* "*") (cast_expression "(long **)(param_2 + 0x50)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")"))))) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "local_38 = local_28;" (assignment_expression "local_38 = local_28" (identifier "local_38") (= "=") (identifier "local_28")) (; ";")) (expression_statement "FUN_001665c0(&local_38,"Check_library ");" (call_expression "FUN_001665c0(&local_38,"Check_library ")" (identifier "FUN_001665c0") (argument_list "(&local_38,"Check_library ")" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (string_literal ""Check_library "" (" """) (string_content "Check_library ") (" """)) () ")"))) (; ";")) (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" (identifier "sVar2") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (if_statement "if (sVar2 <= 0x7fffffffffffffffU - local_30) {\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }" (if "if") (parenthesized_expression "(sVar2 <= 0x7fffffffffffffffU - local_30)" (( "(") (binary_expression "sVar2 <= 0x7fffffffffffffffU - local_30" (identifier "sVar2") (<= "<=") (binary_expression "0x7fffffffffffffffU - local_30" (number_literal "0x7fffffffffffffffU") (- "-") (identifier "local_30"))) () ")")) (compound_statement "{\n                    \n    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);\n    *param_1 = (long)(param_1 + 2);\n    if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }\n    param_1[1] = plVar3[1];\n    *plVar3 = (long)(plVar3 + 2);\n    plVar3[1] = 0;\n    *(undefined1 *)(plVar3 + 2) = 0;\n    if (local_38 != local_28) {\n      FUN_002dac60();\n    }\n    return param_1;\n  }" ({ "{") (expression_statement "plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);" (assignment_expression "plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2)" (identifier "plVar3") (= "=") (cast_expression "(long *)FUN_002e2ee0(&local_38,__s,sVar2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002e2ee0(&local_38,__s,sVar2)" (identifier "FUN_002e2ee0") (argument_list "(&local_38,__s,sVar2)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "__s") (, ",") (identifier "sVar2") () ")"))))) (; ";")) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)(param_1 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if ((long *)*plVar3 == plVar3 + 2) {\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }\n    else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" (if "if") (parenthesized_expression "((long *)*plVar3 == plVar3 + 2)" (( "(") (binary_expression "(long *)*plVar3 == plVar3 + 2" (cast_expression "(long *)*plVar3" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar3" (* "*") (identifier "plVar3"))) (== "==") (binary_expression "plVar3 + 2" (identifier "plVar3") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n      lVar1 = plVar3[3];\n      param_1[2] = plVar3[2];\n      param_1[3] = lVar1;\n    }" ({ "{") (expression_statement "lVar1 = plVar3[3];" (assignment_expression "lVar1 = plVar3[3]" (identifier "lVar1") (= "=") (subscript_expression "plVar3[3]" (identifier "plVar3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[2] = plVar3[2];" (assignment_expression "param_1[2] = plVar3[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "plVar3[2]" (identifier "plVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_1[3] = lVar1;" (assignment_expression "param_1[3] = lVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "lVar1")) (; ";")) (} "}")) (else_clause "else {\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" (else "else") (compound_statement "{\n      *param_1 = *plVar3;\n      param_1[2] = plVar3[2];\n    }" ({ "{") (expression_statement "*param_1 = *plVar3;" (assignment_expression "*param_1 = *plVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*plVar3" (* "*") (identifier "plVar3"))) (; ";")) (expression_statement "param_1[2] = plVar3[2];" (assignment_expression "param_1[2] = plVar3[2]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "plVar3[2]" (identifier "plVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (expression_statement "param_1[1] = plVar3[1];" (assignment_expression "param_1[1] = plVar3[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*plVar3 = (long)(plVar3 + 2);" (assignment_expression "*plVar3 = (long)(plVar3 + 2)" (pointer_expression "*plVar3" (* "*") (identifier "plVar3")) (= "=") (cast_expression "(long)(plVar3 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(plVar3 + 2)" (( "(") (binary_expression "plVar3 + 2" (identifier "plVar3") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "plVar3[1] = 0;" (assignment_expression "plVar3[1] = 0" (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(plVar3 + 2) = 0;" (assignment_expression "*(undefined1 *)(plVar3 + 2) = 0" (pointer_expression "*(undefined1 *)(plVar3 + 2)" (* "*") (cast_expression "(undefined1 *)(plVar3 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar3 + 2)" (( "(") (binary_expression "plVar3 + 2" (identifier "plVar3") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_38 != local_28) {\n      FUN_002dac60();\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_002dac60();\n    }" ({ "{") (expression_statement "FUN_002dac60();" (call_expression "FUN_002dac60()" (identifier "FUN_002dac60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_00319590("basic_string::append");" (call_expression "FUN_00319590("basic_string::append")" (identifier "FUN_00319590") (argument_list "("basic_string::append")" (( "(") (string_literal ""basic_string::append"" (" """) (string_content "basic_string::append") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: string get_name(Check_library * this) */

type_2 * __thiscall
gold::Check_library::get_name(type_2 *__return_storage_ptr__,Check_library *this)

{
  long lVar1;
  int iVar2;
  type_1 extraout_var;
  size_t var_9;
  long *var_11;
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_4;
  
  iVar2 = (*this->input_reader_->_vptr_Input_reader[2])();
  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_5<var_6*>(&var_4,"Check_library ");
  var_9 = var_7((char *)var_8(extraout_var,iVar2));
  if (var_9 <= 0x7fffffffffffffff - var_4._M_string_length) {
                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */
    var_11 = (long *)std::string::var_10
                               ((type_2 *)&var_4,(char *)var_8(extraout_var,iVar2),var_9);
    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
    if ((long *)*var_11 == var_11 + 2) {
      lVar1 = var_11[3];
      (__return_storage_ptr__->field_2)._M_allocated_capacity = var_11[2];
      *(long *)((long)&__return_storage_ptr__->field_2 + 8) = lVar1;
    }
    else {
      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)*var_11;
      (__return_storage_ptr__->field_2)._M_allocated_capacity = var_11[2];
    }
    __return_storage_ptr__->_M_string_length = var_11[1];
    *var_11 = (long)(var_11 + 2);
    var_11[1] = 0;
    *(type_3 *)(var_11 + 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_12
         *)var_4._M_dataplus._M_p != &var_4.field_2) {
      var_13(var_4._M_dataplus._M_p);
    }
    return __return_storage_ptr__;
  }
                    /* WARNING: Subroutine does not return */
  std::var_14("basic_string::append");
}


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

long * MASKED(long *param_1,long param_2)

{
  long lVar1;
  char *__s;
  size_t sVar2;
  long *plVar3;
  undefined1 *local_38;
  long local_30;
  undefined1 local_28 [16];
  
  __s = (char *)(**(code **)(**(long **)(param_2 + 0x50) + 0x10))();
  local_38 = local_28;
  FUN_001665c0(&local_38,"Check_library ");
  sVar2 = strlen(__s);
  if (sVar2 <= 0x7fffffffffffffffU - local_30) {
                    /* try { // try from 0024181b to 0024188e has its CatchHandler @ 0024188f */
    plVar3 = (long *)FUN_002e2ee0(&local_38,__s,sVar2);
    *param_1 = (long)(param_1 + 2);
    if ((long *)*plVar3 == plVar3 + 2) {
      lVar1 = plVar3[3];
      param_1[2] = plVar3[2];
      param_1[3] = lVar1;
    }
    else {
      *param_1 = *plVar3;
      param_1[2] = plVar3[2];
    }
    param_1[1] = plVar3[1];
    *plVar3 = (long)(plVar3 + 2);
    plVar3[1] = 0;
    *(undefined1 *)(plVar3 + 2) = 0;
    if (local_38 != local_28) {
      FUN_002dac60();
    }
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00319590("basic_string::append");
}

