
/* DWARF original name: emplace_back<std::pair<int, std::__cxx11::basic_string<char,
   std::char_traits<char>, std::allocator<char> > > >
   DWARF original prototype: void
   emplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>(vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
   * this,
   pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> *
   __args#0) */

void __thiscall
std::
vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
::
emplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
          (vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>
                 *__args_0)

{
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *paVar1;
  pointer *pppVar2;
  iterator __position;
  pointer pcVar3;
  undefined8 uVar4;
  
  __position._M_current =
       (this->
       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
       )._M_impl._M_finish;
  if (__position._M_current !=
      (this->
      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
      )._M_impl._M_end_of_storage) {
    (__position._M_current)->first = __args_0->first;
    ((__position._M_current)->second)._M_dataplus._M_p =
         (pointer)&((__position._M_current)->second).field_2;
    pcVar3 = (__args_0->second)._M_dataplus._M_p;
    paVar1 = &(__args_0->second).field_2;
    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
         *)pcVar3 == paVar1) {
      uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);
      ((__position._M_current)->second).field_2._M_allocated_capacity =
           (__args_0->second).field_2._M_allocated_capacity;
      *(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;
    }
    else {
      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;
      ((__position._M_current)->second).field_2._M_allocated_capacity =
           (__args_0->second).field_2._M_allocated_capacity;
    }
    ((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length;
    (__args_0->second)._M_dataplus._M_p = (pointer)paVar1;
    (__args_0->second)._M_string_length = 0;
    (__args_0->second).field_2._M_local_buf[0] = '\0';
    pppVar2 = &(this->
               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
               )._M_impl._M_finish;
    *pppVar2 = *pppVar2 + 1;
    return;
  }
  _M_realloc_insert<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>
            (this,__position,__args_0);
  return;
}



void FUN_00165600(long param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  undefined8 uVar2;
  
  puVar1 = *(undefined4 **)(param_1 + 8);
  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {
    *puVar1 = *param_2;
    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;
    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {
      uVar2 = *(undefined8 *)(param_2 + 8);
      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);
      *(undefined8 *)(puVar1 + 8) = uVar2;
    }
    else {
      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);
      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);
    }
    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);
    *(undefined4 **)(param_2 + 2) = param_2 + 6;
    *(undefined8 *)(param_2 + 4) = 0;
    *(undefined1 *)(param_2 + 6) = 0;
    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;
    return;
  }
  FUN_00165380(param_1,puVar1,param_2);
  return;
}


MOV RAX,qword ptr [RDI + 0x8]
CMP RAX,qword ptr [RDI + 0x10]
JZ 0x00165660
MOV EDX,dword ptr [RSI]
MOV dword ptr [RAX],EDX
LEA RDX,[RAX + 0x18]
MOV qword ptr [RAX + 0x8],RDX
MOV RCX,qword ptr [RSI + 0x8]
LEA RDX,[RSI + 0x18]
CMP RCX,RDX
JZ 0x00165650
MOV qword ptr [RAX + 0x8],RCX
MOV RCX,qword ptr [RSI + 0x18]
MOV qword ptr [RAX + 0x18],RCX
MOV RCX,qword ptr [RSI + 0x10]
MOV qword ptr [RAX + 0x10],RCX
MOV qword ptr [RSI + 0x8],RDX
MOV qword ptr [RSI + 0x10],0x0
MOV byte ptr [RSI + 0x18],0x0
ADD qword ptr [RDI + 0x8],0x28
RET
MOVDQU XMM0,xmmword ptr [RSI + 0x18]
MOVUPS xmmword ptr [RAX + 0x18],XMM0
JMP 0x0016562f
MOV RDX,RSI
MOV RSI,RAX
JMP 0x00165380
(translation_unit "void FUN_00165600(long param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00165600(long param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00165600(long param_1,undefined4 *param_2)" identifier (parameter_list "(long param_1,undefined4 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 8);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x10))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x10)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x10)" * (cast_expression "(undefined4 **)(param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 **)(puVar1 + 2) = puVar1 + 6;" (assignment_expression "*(undefined4 **)(puVar1 + 2) = puVar1 + 6" (pointer_expression "*(undefined4 **)(puVar1 + 2)" * (cast_expression "(undefined4 **)(puVar1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (binary_expression "puVar1 + 6" identifier + number_literal)) ;) (if_statement "if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" if (parenthesized_expression "(*(undefined4 **)(param_2 + 2) == param_2 + 6)" ( (binary_expression "*(undefined4 **)(param_2 + 2) == param_2 + 6" (pointer_expression "*(undefined4 **)(param_2 + 2)" * (cast_expression "(undefined4 **)(param_2 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) == (binary_expression "param_2 + 6" identifier + number_literal)) )) (compound_statement "{\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }" { (expression_statement "uVar2 = *(undefined8 *)(param_2 + 8);" (assignment_expression "uVar2 = *(undefined8 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);" (assignment_expression "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6)" (pointer_expression "*(undefined8 *)(puVar1 + 6)" * (cast_expression "(undefined8 *)(puVar1 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 6)" ( (binary_expression "puVar1 + 6" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 6)" * (cast_expression "(undefined8 *)(param_2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar1 + 8) = uVar2;" (assignment_expression "*(undefined8 *)(puVar1 + 8) = uVar2" (pointer_expression "*(undefined8 *)(puVar1 + 8)" * (cast_expression "(undefined8 *)(puVar1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 8)" ( (binary_expression "puVar1 + 8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" else (compound_statement "{\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" { (expression_statement "*(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);" (assignment_expression "*(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2)" (pointer_expression "*(undefined4 **)(puVar1 + 2)" * (cast_expression "(undefined4 **)(puVar1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (pointer_expression "*(undefined4 **)(param_2 + 2)" * (cast_expression "(undefined4 **)(param_2 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);" (assignment_expression "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6)" (pointer_expression "*(undefined8 *)(puVar1 + 6)" * (cast_expression "(undefined8 *)(puVar1 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 6)" ( (binary_expression "puVar1 + 6" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 6)" * (cast_expression "(undefined8 *)(param_2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);" (assignment_expression "*(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4)" (pointer_expression "*(undefined8 *)(puVar1 + 4)" * (cast_expression "(undefined8 *)(puVar1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 4)" * (cast_expression "(undefined8 *)(param_2 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_2 + 2) = param_2 + 6;" (assignment_expression "*(undefined4 **)(param_2 + 2) = param_2 + 6" (pointer_expression "*(undefined4 **)(param_2 + 2)" * (cast_expression "(undefined4 **)(param_2 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) = (binary_expression "param_2 + 6" identifier + number_literal)) ;) (expression_statement "*(undefined8 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined8 *)(param_2 + 4) = 0" (pointer_expression "*(undefined8 *)(param_2 + 4)" * (cast_expression "(undefined8 *)(param_2 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_2 + 6) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 6) = 0" (pointer_expression "*(undefined1 *)(param_2 + 6)" * (cast_expression "(undefined1 *)(param_2 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;" (assignment_expression "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 8) + 0x28" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00165380(param_1,puVar1,param_2);" (call_expression "FUN_00165380(param_1,puVar1,param_2)" identifier (argument_list "(param_1,puVar1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original name: emplace_back<std::pair<int, std::__cxx11::basic_string<char,\n   std::char_traits<char>, std::allocator<char> > > >\n   DWARF original prototype: void\n   emplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>(vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n   * this,\n   pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> *\n   __args#0) */\n\nvoid __thiscall\nstd::\nvector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n::\nemplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          (vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>\n                 *__args_0)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar1;\n  pointer *pppVar2;\n  iterator __position;\n  pointer pcVar3;\n  undefined8 uVar4;\n  \n  __position._M_current =\n       (this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n       )._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )._M_impl._M_end_of_storage) {\n    (__position._M_current)->first = __args_0->first;\n    ((__position._M_current)->second)._M_dataplus._M_p =\n         (pointer)&((__position._M_current)->second).field_2;\n    pcVar3 = (__args_0->second)._M_dataplus._M_p;\n    paVar1 = &(__args_0->second).field_2;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar3 == paVar1) {\n      uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n      *(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;\n    }\n    else {\n      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n    }\n    ((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length;\n    (__args_0->second)._M_dataplus._M_p = (pointer)paVar1;\n    (__args_0->second)._M_string_length = 0;\n    (__args_0->second).field_2._M_local_buf[0] = '\0';\n    pppVar2 = &(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish;\n    *pppVar2 = *pppVar2 + 1;\n    return;\n  }\n  _M_realloc_insert<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n            (this,__position,__args_0);\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::\nvector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n::\nemplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n          (vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>\n                 *__args_0)\n\n{\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *paVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\nvector<std::" identifier : : identifier < identifier : :) identifier (ERROR "<int" < primitive_type) , (ERROR "_std::__cxx11::" identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>" identifier : : identifier < primitive_type > identifier >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::" identifier : : identifier < identifier : :) identifier (ERROR "<int" < primitive_type) , (ERROR "_std::__cxx11::" identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_>_>_>\n::\nemplace_back<std::" identifier : : identifier < primitive_type > identifier > identifier > identifier > identifier > : : identifier < identifier : :) identifier (ERROR "<int" < primitive_type) , (ERROR "_std::__cxx11::" identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_>_>\n          (vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>\n                 *__args_0)\n\n{" identifier : : identifier < primitive_type > identifier > identifier > (function_declarator "_>\n          (vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>\n                 *__args_0)" identifier (ERROR ">" >) (parameter_list "(vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>\n                 *__args_0)" ( (parameter_declaration "vector<std::pair" type_identifier (ERROR "<std::" < identifier : :) identifier) (ERROR "<int" < primitive_type) , (parameter_declaration "_std::__cxx11::basic_string" type_identifier (ERROR "::__cxx11::" : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_" type_identifier (ERROR "::allocator<char>_>" : : identifier < primitive_type > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair" type_identifier (ERROR "::allocator<std::" : : identifier < identifier : :) identifier) (ERROR "<int" < primitive_type) , (parameter_declaration "_std::__cxx11::basic_string" type_identifier (ERROR "::__cxx11::" : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_>_>_>\n           *this" type_identifier (ERROR "::allocator<char>_>_>_>_>" : : identifier < primitive_type > identifier > identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "pair" type_identifier) (ERROR "<int" < primitive_type) , (parameter_declaration "_std::__cxx11::basic_string" type_identifier (ERROR "::__cxx11::" : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_>\n                 *__args_0" type_identifier (ERROR "::allocator<char>_>_>" : : identifier < primitive_type > identifier > identifier >) (pointer_declarator "*__args_0" * identifier)) ))) {) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>_9" identifier : : identifier < primitive_type > identifier > identifier) (pointer_declarator "*paVar1" * identifier) ;) (declaration "pointer *pppVar2;" type_identifier (pointer_declarator "*pppVar2" * identifier) ;) (declaration "iterator __position;" type_identifier identifier ;) (declaration "pointer pcVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (expression_statement "__position._M_current =\n       (this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n       )._M_impl._M_finish;" (assignment_expression "__position._M_current =\n       (this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n       )._M_impl._M_finish" (field_expression "__position._M_current" identifier . field_identifier) = (field_expression "(this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n       )._M_impl._M_finish" (field_expression "(this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n       )._M_impl" (parenthesized_expression "(this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n       )" ( (ERROR "this->\n       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "this->\n       super__Vector_base<std::pair<int,_std" (binary_expression "this->\n       super__Vector_base<std::pair<int" (binary_expression "this->\n       super__Vector_base<std" (field_expression "this->\n       super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : (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) : : (binary_expression "allocator<char>_>_>,_std" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<int,_std" (binary_expression "pair<int" identifier < identifier) , identifier) : : identifier : : (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) : :) (binary_expression "allocator<char>_>_>_>_>" (binary_expression "allocator<char>_>_>_>_" (binary_expression "allocator<char>_>_>_" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )._M_impl._M_end_of_storage) {\n    (__position._M_current)->first = __args_0->first;\n    ((__position._M_current)->second)._M_dataplus._M_p =\n         (pointer)&((__position._M_current)->second).field_2;\n    pcVar3 = (__args_0->second)._M_dataplus._M_p;\n    paVar1 = &(__args_0->second).field_2;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar3 == paVar1) {\n      uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n      *(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;\n    }\n    else {\n      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n    }\n    ((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length;\n    (__args_0->second)._M_dataplus._M_p = (pointer)paVar1;\n    (__args_0->second)._M_string_length = 0;\n    (__args_0->second).field_2._M_local_buf[0] = '\0';\n    pppVar2 = &(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish;\n    *pppVar2 = *pppVar2 + 1;\n    return;\n  }" if (parenthesized_expression "(__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )._M_impl._M_end_of_storage)" ( (binary_expression "__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )._M_impl._M_end_of_storage" (field_expression "__position._M_current" identifier . field_identifier) != (field_expression "(this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )._M_impl._M_end_of_storage" (field_expression "(this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )._M_impl" (parenthesized_expression "(this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n      )" ( (ERROR "this->\n      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "this->\n      super__Vector_base<std::pair<int,_std" (binary_expression "this->\n      super__Vector_base<std::pair<int" (binary_expression "this->\n      super__Vector_base<std" (field_expression "this->\n      super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : (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) : : (binary_expression "allocator<char>_>_>,_std" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<int,_std" (binary_expression "pair<int" identifier < identifier) , identifier) : : identifier : : (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) : :) (binary_expression "allocator<char>_>_>_>_>" (binary_expression "allocator<char>_>_>_>_" (binary_expression "allocator<char>_>_>_" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    (__position._M_current)->first = __args_0->first;\n    ((__position._M_current)->second)._M_dataplus._M_p =\n         (pointer)&((__position._M_current)->second).field_2;\n    pcVar3 = (__args_0->second)._M_dataplus._M_p;\n    paVar1 = &(__args_0->second).field_2;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar3 == paVar1) {\n      uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n      *(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;\n    }\n    else {\n      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n    }\n    ((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length;\n    (__args_0->second)._M_dataplus._M_p = (pointer)paVar1;\n    (__args_0->second)._M_string_length = 0;\n    (__args_0->second).field_2._M_local_buf[0] = '\0';\n    pppVar2 = &(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish;\n    *pppVar2 = *pppVar2 + 1;\n    return;\n  }" { (expression_statement "(__position._M_current)->first = __args_0->first;" (assignment_expression "(__position._M_current)->first = __args_0->first" (field_expression "(__position._M_current)->first" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) = (field_expression "__args_0->first" identifier -> field_identifier)) ;) (expression_statement "((__position._M_current)->second)._M_dataplus._M_p =\n         (pointer)&((__position._M_current)->second).field_2;" (assignment_expression "((__position._M_current)->second)._M_dataplus._M_p =\n         (pointer)&((__position._M_current)->second).field_2" (field_expression "((__position._M_current)->second)._M_dataplus._M_p" (field_expression "((__position._M_current)->second)._M_dataplus" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "(pointer)&((__position._M_current)->second).field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "((__position._M_current)->second).field_2" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier))) ;) (expression_statement "pcVar3 = (__args_0->second)._M_dataplus._M_p;" (assignment_expression "pcVar3 = (__args_0->second)._M_dataplus._M_p" identifier = (field_expression "(__args_0->second)._M_dataplus._M_p" (field_expression "(__args_0->second)._M_dataplus" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "paVar1 = &(__args_0->second).field_2;" (assignment_expression "paVar1 = &(__args_0->second).field_2" identifier = (pointer_expression "&(__args_0->second).field_2" & (field_expression "(__args_0->second).field_2" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar3 == paVar1) {\n      uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n      *(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;\n    }\n    else {\n      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n    }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar3 == paVar1)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar3 == paVar1)" ( (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         *)pcVar3 == paVar1" (binary_expression "allocator<char>_>_9\n         *)pcVar3" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n         *)pcVar3" identifier * (ERROR ")" )) identifier)) == identifier) )) )) (compound_statement "{\n      uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n      *(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;\n    }" { (expression_statement "uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8);" (assignment_expression "uVar4 = *(undefined8 *)((long)&(__args_0->second).field_2 + 8)" identifier = (pointer_expression "*(undefined8 *)((long)&(__args_0->second).field_2 + 8)" * (cast_expression "(undefined8 *)((long)&(__args_0->second).field_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&(__args_0->second).field_2 + 8)" ( (binary_expression "(long)&(__args_0->second).field_2 + 8" (cast_expression "(long)&(__args_0->second).field_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&(__args_0->second).field_2" & (field_expression "(__args_0->second).field_2" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (expression_statement "((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;" (assignment_expression "((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity" (field_expression "((__position._M_current)->second).field_2._M_allocated_capacity" (field_expression "((__position._M_current)->second).field_2" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "(__args_0->second).field_2._M_allocated_capacity" (field_expression "(__args_0->second).field_2" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;" (assignment_expression "*(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4" (pointer_expression "*(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8)" * (cast_expression "(undefined8 *)((long)&((__position._M_current)->second).field_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&((__position._M_current)->second).field_2 + 8)" ( (binary_expression "(long)&((__position._M_current)->second).field_2 + 8" (cast_expression "(long)&((__position._M_current)->second).field_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&((__position._M_current)->second).field_2" & (field_expression "((__position._M_current)->second).field_2" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n    }" else (compound_statement "{\n      ((__position._M_current)->second)._M_dataplus._M_p = pcVar3;\n      ((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;\n    }" { (expression_statement "((__position._M_current)->second)._M_dataplus._M_p = pcVar3;" (assignment_expression "((__position._M_current)->second)._M_dataplus._M_p = pcVar3" (field_expression "((__position._M_current)->second)._M_dataplus._M_p" (field_expression "((__position._M_current)->second)._M_dataplus" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity;" (assignment_expression "((__position._M_current)->second).field_2._M_allocated_capacity =\n           (__args_0->second).field_2._M_allocated_capacity" (field_expression "((__position._M_current)->second).field_2._M_allocated_capacity" (field_expression "((__position._M_current)->second).field_2" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "(__args_0->second).field_2._M_allocated_capacity" (field_expression "(__args_0->second).field_2" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) }))) (expression_statement "((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length;" (assignment_expression "((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length" (field_expression "((__position._M_current)->second)._M_string_length" (parenthesized_expression "((__position._M_current)->second)" ( (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) )) . field_identifier) = (field_expression "(__args_0->second)._M_string_length" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(__args_0->second)._M_dataplus._M_p = (pointer)paVar1;" (assignment_expression "(__args_0->second)._M_dataplus._M_p = (pointer)paVar1" (field_expression "(__args_0->second)._M_dataplus._M_p" (field_expression "(__args_0->second)._M_dataplus" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(pointer)paVar1" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (expression_statement "(__args_0->second)._M_string_length = 0;" (assignment_expression "(__args_0->second)._M_string_length = 0" (field_expression "(__args_0->second)._M_string_length" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(__args_0->second).field_2._M_local_buf[0] = '\0';" (assignment_expression "(__args_0->second).field_2._M_local_buf[0] = '\0'" (subscript_expression "(__args_0->second).field_2._M_local_buf[0]" (field_expression "(__args_0->second).field_2._M_local_buf" (field_expression "(__args_0->second).field_2" (parenthesized_expression "(__args_0->second)" ( (field_expression "__args_0->second" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pppVar2 = &(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish;" (assignment_expression "pppVar2 = &(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish" identifier = (pointer_expression "&(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish" & (field_expression "(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl._M_finish" (field_expression "(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )._M_impl" (parenthesized_expression "(this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>\n               )" ( (ERROR "this->\n               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "this->\n               super__Vector_base<std::pair<int,_std" (binary_expression "this->\n               super__Vector_base<std::pair<int" (binary_expression "this->\n               super__Vector_base<std" (field_expression "this->\n               super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , identifier) : : identifier : : (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) : : (binary_expression "allocator<char>_>_>,_std" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (comma_expression "pair<int,_std" (binary_expression "pair<int" identifier < identifier) , identifier) : : identifier : : (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) : :) (binary_expression "allocator<char>_>_>_>_>" (binary_expression "allocator<char>_>_>_>_" (binary_expression "allocator<char>_>_>_" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > identifier) > identifier) > identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*pppVar2 = *pppVar2 + 1;" (assignment_expression "*pppVar2 = *pppVar2 + 1" (pointer_expression "*pppVar2" * identifier) = (binary_expression "*pppVar2 + 1" (pointer_expression "*pppVar2" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (ERROR "_M_realloc_insert<std::pair<int," (binary_expression "_M_realloc_insert<std::pair<int" (binary_expression "_M_realloc_insert<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) ,) (labeled_statement "_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>\n            (this,__position,__args_0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std:" : : (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) :) : (expression_statement "allocator<char>_>_>_>\n            (this,__position,__args_0);" (binary_expression "allocator<char>_>_>_>\n            (this,__position,__args_0)" (binary_expression "allocator<char>_>_>_" (binary_expression "allocator<char>_>_" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) > identifier) > (parenthesized_expression "(this,__position,__args_0)" ( (comma_expression "this,__position,__args_0" identifier , (comma_expression "__position,__args_0" identifier , identifier)) ))) ;)) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00165600(long param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_00165600(long param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_00165600(long param_1,undefined4 *param_2)" identifier (parameter_list "(long param_1,undefined4 *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 8);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 8)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 8)" * (cast_expression "(undefined4 **)(param_1 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x10))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x10)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x10)" * (cast_expression "(undefined4 **)(param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }" { (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 **)(puVar1 + 2) = puVar1 + 6;" (assignment_expression "*(undefined4 **)(puVar1 + 2) = puVar1 + 6" (pointer_expression "*(undefined4 **)(puVar1 + 2)" * (cast_expression "(undefined4 **)(puVar1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (binary_expression "puVar1 + 6" identifier + number_literal)) ;) (if_statement "if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" if (parenthesized_expression "(*(undefined4 **)(param_2 + 2) == param_2 + 6)" ( (binary_expression "*(undefined4 **)(param_2 + 2) == param_2 + 6" (pointer_expression "*(undefined4 **)(param_2 + 2)" * (cast_expression "(undefined4 **)(param_2 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) == (binary_expression "param_2 + 6" identifier + number_literal)) )) (compound_statement "{\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }" { (expression_statement "uVar2 = *(undefined8 *)(param_2 + 8);" (assignment_expression "uVar2 = *(undefined8 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);" (assignment_expression "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6)" (pointer_expression "*(undefined8 *)(puVar1 + 6)" * (cast_expression "(undefined8 *)(puVar1 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 6)" ( (binary_expression "puVar1 + 6" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 6)" * (cast_expression "(undefined8 *)(param_2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar1 + 8) = uVar2;" (assignment_expression "*(undefined8 *)(puVar1 + 8) = uVar2" (pointer_expression "*(undefined8 *)(puVar1 + 8)" * (cast_expression "(undefined8 *)(puVar1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 8)" ( (binary_expression "puVar1 + 8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" else (compound_statement "{\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" { (expression_statement "*(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);" (assignment_expression "*(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2)" (pointer_expression "*(undefined4 **)(puVar1 + 2)" * (cast_expression "(undefined4 **)(puVar1 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = (pointer_expression "*(undefined4 **)(param_2 + 2)" * (cast_expression "(undefined4 **)(param_2 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);" (assignment_expression "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6)" (pointer_expression "*(undefined8 *)(puVar1 + 6)" * (cast_expression "(undefined8 *)(puVar1 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 6)" ( (binary_expression "puVar1 + 6" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 6)" * (cast_expression "(undefined8 *)(param_2 + 6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) ))))) ;) }))) (expression_statement "*(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);" (assignment_expression "*(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4)" (pointer_expression "*(undefined8 *)(puVar1 + 4)" * (cast_expression "(undefined8 *)(puVar1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(param_2 + 4)" * (cast_expression "(undefined8 *)(param_2 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(param_2 + 2) = param_2 + 6;" (assignment_expression "*(undefined4 **)(param_2 + 2) = param_2 + 6" (pointer_expression "*(undefined4 **)(param_2 + 2)" * (cast_expression "(undefined4 **)(param_2 + 2)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) = (binary_expression "param_2 + 6" identifier + number_literal)) ;) (expression_statement "*(undefined8 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined8 *)(param_2 + 4) = 0" (pointer_expression "*(undefined8 *)(param_2 + 4)" * (cast_expression "(undefined8 *)(param_2 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_2 + 6) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 6) = 0" (pointer_expression "*(undefined1 *)(param_2 + 6)" * (cast_expression "(undefined1 *)(param_2 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;" (assignment_expression "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 8) + 0x28" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00165380(param_1,puVar1,param_2);" (call_expression "FUN_00165380(param_1,puVar1,param_2)" identifier (argument_list "(param_1,puVar1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00165600(long param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00165600(long param_1,undefined4 *param_2)" (identifier "FUN_00165600") (parameter_list "(long param_1,undefined4 *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined8 uVar2;\n  \n  puVar1 = *(undefined4 **)(param_1 + 8);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }\n  FUN_00165380(param_1,puVar1,param_2);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 8);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 8)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 8)" (* "*") (cast_expression "(undefined4 **)(param_1 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x10))" (( "(") (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x10)" (identifier "puVar1") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n    *puVar1 = *param_2;\n    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;\n    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }\n    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);\n    *(undefined4 **)(param_2 + 2) = param_2 + 6;\n    *(undefined8 *)(param_2 + 4) = 0;\n    *(undefined1 *)(param_2 + 6) = 0;\n    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = *param_2;" (assignment_expression "*puVar1 = *param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined4 **)(puVar1 + 2) = puVar1 + 6;" (assignment_expression "*(undefined4 **)(puVar1 + 2) = puVar1 + 6" (pointer_expression "*(undefined4 **)(puVar1 + 2)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "puVar1 + 6" (identifier "puVar1") (+ "+") (number_literal "6"))) (; ";")) (if_statement "if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }\n    else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_2 + 2) == param_2 + 6)" (( "(") (binary_expression "*(undefined4 **)(param_2 + 2) == param_2 + 6" (pointer_expression "*(undefined4 **)(param_2 + 2)" (* "*") (cast_expression "(undefined4 **)(param_2 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (== "==") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6"))) () ")")) (compound_statement "{\n      uVar2 = *(undefined8 *)(param_2 + 8);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n      *(undefined8 *)(puVar1 + 8) = uVar2;\n    }" ({ "{") (expression_statement "uVar2 = *(undefined8 *)(param_2 + 8);" (assignment_expression "uVar2 = *(undefined8 *)(param_2 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);" (assignment_expression "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6)" (pointer_expression "*(undefined8 *)(puVar1 + 6)" (* "*") (cast_expression "(undefined8 *)(puVar1 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 6)" (( "(") (binary_expression "puVar1 + 6" (identifier "puVar1") (+ "+") (number_literal "6")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 6)" (* "*") (cast_expression "(undefined8 *)(param_2 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 6)" (( "(") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(puVar1 + 8) = uVar2;" (assignment_expression "*(undefined8 *)(puVar1 + 8) = uVar2" (pointer_expression "*(undefined8 *)(puVar1 + 8)" (* "*") (cast_expression "(undefined8 *)(puVar1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 8)" (( "(") (binary_expression "puVar1 + 8" (identifier "puVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" (else "else") (compound_statement "{\n      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);\n      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);\n    }" ({ "{") (expression_statement "*(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);" (assignment_expression "*(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2)" (pointer_expression "*(undefined4 **)(puVar1 + 2)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")")))) (= "=") (pointer_expression "*(undefined4 **)(param_2 + 2)" (* "*") (cast_expression "(undefined4 **)(param_2 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);" (assignment_expression "*(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6)" (pointer_expression "*(undefined8 *)(puVar1 + 6)" (* "*") (cast_expression "(undefined8 *)(puVar1 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 6)" (( "(") (binary_expression "puVar1 + 6" (identifier "puVar1") (+ "+") (number_literal "6")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 6)" (* "*") (cast_expression "(undefined8 *)(param_2 + 6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 6)" (( "(") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);" (assignment_expression "*(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4)" (pointer_expression "*(undefined8 *)(puVar1 + 4)" (* "*") (cast_expression "(undefined8 *)(puVar1 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(param_2 + 4)" (* "*") (cast_expression "(undefined8 *)(param_2 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(param_2 + 2) = param_2 + 6;" (assignment_expression "*(undefined4 **)(param_2 + 2) = param_2 + 6" (pointer_expression "*(undefined4 **)(param_2 + 2)" (* "*") (cast_expression "(undefined4 **)(param_2 + 2)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined8 *)(param_2 + 4) = 0" (pointer_expression "*(undefined8 *)(param_2 + 4)" (* "*") (cast_expression "(undefined8 *)(param_2 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_2 + 6) = 0;" (assignment_expression "*(undefined1 *)(param_2 + 6) = 0" (pointer_expression "*(undefined1 *)(param_2 + 6)" (* "*") (cast_expression "(undefined1 *)(param_2 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 6)" (( "(") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;" (assignment_expression "*(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(long *)(param_1 + 8) + 0x28" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x28"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00165380(param_1,puVar1,param_2);" (call_expression "FUN_00165380(param_1,puVar1,param_2)" (identifier "FUN_00165380") (argument_list "(param_1,puVar1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "puVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original name: emplace_back<std::pair<int, std::__cxx11::basic_string<char,
   std::char_traits<char>, std::allocator<char> > > >
   DWARF original prototype: void
   emplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>(vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>_>
   * this,
   pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> *
   __args#0) */

void __thiscall
std::
vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_3>,_std::var_1<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_3>var_3>var_3>
::
emplace_back<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_3>var_3>
          (vector<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_3>,_std::var_1<std::pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_3>var_3>var_3>
           *this,pair<int,_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_3>
                 *__args_0)

{
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::var_1<char>var_3>var_5
  *var_7;
  type_1 *pppVar2;
  type_2 __position;
  type_1 var_6;
  type_3 uVar4;
  
  __position._M_current =
       (this->
       super__Vector_base<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>,_std::var_1<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>var_3>var_3>var_4
       )._M_impl._M_finish;
  if (__position._M_current !=
      (this->
      super__Vector_base<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>,_std::var_1<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>var_3>var_3>var_4
      )._M_impl._M_end_of_storage) {
    (__position._M_current)->first = __args_0->first;
    ((__position._M_current)->second)._M_dataplus._M_p =
         (type_1)&((__position._M_current)->second).field_2;
    var_6 = (__args_0->second)._M_dataplus._M_p;
    var_7 = &(__args_0->second).field_2;
    if ((anon_union_16_2_edb7204a_for_basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_5
         *)var_6 == var_7) {
      uVar4 = *(type_3 *)((long)&(__args_0->second).field_2 + 8);
      ((__position._M_current)->second).field_2._M_allocated_capacity =
           (__args_0->second).field_2._M_allocated_capacity;
      *(type_3 *)((long)&((__position._M_current)->second).field_2 + 8) = uVar4;
    }
    else {
      ((__position._M_current)->second)._M_dataplus._M_p = var_6;
      ((__position._M_current)->second).field_2._M_allocated_capacity =
           (__args_0->second).field_2._M_allocated_capacity;
    }
    ((__position._M_current)->second)._M_string_length = (__args_0->second)._M_string_length;
    (__args_0->second)._M_dataplus._M_p = (type_1)var_7;
    (__args_0->second)._M_string_length = 0;
    (__args_0->second).field_2._M_local_buf[0] = '\0';
    pppVar2 = &(this->
               super__Vector_base<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>,_std::var_1<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>var_3>var_3>var_4
               )._M_impl._M_finish;
    *pppVar2 = *pppVar2 + 1;
    return;
  }
  _M_realloc_insert<std::pair<int,_std::__cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>var_3>var_3>
            (this,__position,__args_0);
  return;
}


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

void MASKED(long param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  undefined8 uVar2;
  
  puVar1 = *(undefined4 **)(param_1 + 8);
  if (puVar1 != *(undefined4 **)(param_1 + 0x10)) {
    *puVar1 = *param_2;
    *(undefined4 **)(puVar1 + 2) = puVar1 + 6;
    if (*(undefined4 **)(param_2 + 2) == param_2 + 6) {
      uVar2 = *(undefined8 *)(param_2 + 8);
      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);
      *(undefined8 *)(puVar1 + 8) = uVar2;
    }
    else {
      *(undefined4 **)(puVar1 + 2) = *(undefined4 **)(param_2 + 2);
      *(undefined8 *)(puVar1 + 6) = *(undefined8 *)(param_2 + 6);
    }
    *(undefined8 *)(puVar1 + 4) = *(undefined8 *)(param_2 + 4);
    *(undefined4 **)(param_2 + 2) = param_2 + 6;
    *(undefined8 *)(param_2 + 4) = 0;
    *(undefined1 *)(param_2 + 6) = 0;
    *(long *)(param_1 + 8) = *(long *)(param_1 + 8) + 0x28;
    return;
  }
  FUN_00165380(param_1,puVar1,param_2);
  return;
}

