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

void __thiscall
std::vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>::
emplace_back<std::pair<int,_unsigned_char>_>
          (vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>
           *this,pair<int,_unsigned_char> *__args_0)

{
  uchar uVar1;
  iterator __position;
  
  __position._M_current =
       (this->
       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>
       )._M_impl._M_finish;
  if (__position._M_current !=
      (this->
      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>
      )._M_impl._M_end_of_storage) {
    uVar1 = __args_0->second;
    (__position._M_current)->first = __args_0->first;
    (__position._M_current)->second = uVar1;
    (this->
    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>
    )._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  _M_realloc_insert<std::pair<int,_unsigned_char>_>(this,__position,__args_0);
  return;
}



void FUN_0014ee50(int param_1,undefined4 *param_2)

{
  undefined1 uVar1;
  undefined4 *puVar2;
  
  puVar2 = *(undefined4 **)(param_1 + 4);
  if (puVar2 != *(undefined4 **)(param_1 + 8)) {
    uVar1 = *(undefined1 *)(param_2 + 1);
    *puVar2 = *param_2;
    *(undefined1 *)(puVar2 + 1) = uVar1;
    *(undefined4 **)(param_1 + 4) = puVar2 + 2;
    return;
  }
  FUN_0014ecd0(param_1,puVar2,param_2);
  return;
}


PUSH EBX
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EDX + 0x4]
CMP EAX,dword ptr [EDX + 0x8]
JZ 0x0014ee80
MOV EBX,dword ptr [ECX]
MOVZX ECX,byte ptr [ECX + 0x4]
ADD EAX,0x8
MOV dword ptr [EAX + -0x8],EBX
MOV byte ptr [EAX + -0x4],CL
MOV dword ptr [EDX + 0x4],EAX
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x4
PUSH ECX
PUSH EAX
PUSH EDX
CALL 0x0014ecd0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "void FUN_0014ee50(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}\n\n" (function_definition "void FUN_0014ee50(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0014ee50(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 8))" ( (binary_expression "puVar2 != *(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) ))))) )) (compound_statement "{\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }" { (expression_statement "uVar1 = *(undefined1 *)(param_2 + 1);" (assignment_expression "uVar1 = *(undefined1 *)(param_2 + 1)" identifier = (pointer_expression "*(undefined1 *)(param_2 + 1)" * (cast_expression "(undefined1 *)(param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) ))))) ;) (expression_statement "*puVar2 = *param_2;" (assignment_expression "*puVar2 = *param_2" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined1 *)(puVar2 + 1) = uVar1;" (assignment_expression "*(undefined1 *)(puVar2 + 1) = uVar1" (pointer_expression "*(undefined1 *)(puVar2 + 1)" * (cast_expression "(undefined1 *)(puVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 4) = puVar2 + 2;" (assignment_expression "*(undefined4 **)(param_1 + 4) = puVar2 + 2" (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "puVar2 + 2" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0014ecd0(param_1,puVar2,param_2);" (call_expression "FUN_0014ecd0(param_1,puVar2,param_2)" identifier (argument_list "(param_1,puVar2,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original name: emplace_back<std::pair<int, unsigned char> >\n   DWARF original prototype: void\n   emplace_back<std::pair<int,_unsigned_char>_>(vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n   * this, pair<int,_unsigned_char> * __args#0) */\n\nvoid __thiscall\nstd::vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>::\nemplace_back<std::pair<int,_unsigned_char>_>\n          (vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n           *this,pair<int,_unsigned_char> *__args_0)\n\n{\n  uchar uVar1;\n  iterator __position;\n  \n  __position._M_current =\n       (this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n       )._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n      )._M_impl._M_end_of_storage) {\n    uVar1 = __args_0->second;\n    (__position._M_current)->first = __args_0->first;\n    (__position._M_current)->second = uVar1;\n    (this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  _M_realloc_insert<std::pair<int,_unsigned_char>_>(this,__position,__args_0);\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>::\nemplace_back<std::pair<int,_unsigned_char>_>\n          (vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n           *this,pair<int,_unsigned_char> *__args_0)\n\n{\n  uchar uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::vector<std::" identifier : : identifier < identifier : :) identifier (ERROR "<int" < primitive_type) , identifier (ERROR ">" >) , (ERROR "_std::allocator<std::" identifier : : identifier < identifier : :) identifier (ERROR "<int" < primitive_type) , (ERROR "_unsigned_char>_>_>::\nemplace_back<std::" identifier > identifier > identifier > : : identifier < identifier : :) identifier (ERROR "<int" < primitive_type) , (ERROR "_unsigned_char>_>\n          (vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n           *this,pair<int,_unsigned_char> *__args_0)\n\n{\n  uchar" (function_declarator "_unsigned_char>_>\n          (vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n           *this,pair<int,_unsigned_char> *__args_0)" identifier (ERROR ">_>" > identifier >) (parameter_list "(vector<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n           *this,pair<int,_unsigned_char> *__args_0)" ( (parameter_declaration "vector<std::pair" type_identifier (ERROR "<std::" < identifier : :) identifier) (ERROR "<int" < primitive_type) , (parameter_declaration "_unsigned_char" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair" type_identifier (ERROR "::allocator<std::" : : identifier < identifier : :) identifier) (ERROR "<int" < primitive_type) , (parameter_declaration "_unsigned_char>_>_>\n           *this" type_identifier (ERROR ">_>_>" > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "pair" type_identifier) (ERROR "<int" < primitive_type) , (parameter_declaration "_unsigned_char> *__args_0" type_identifier (ERROR ">" >) (pointer_declarator "*__args_0" * identifier)) ))) { identifier) identifier ;) (declaration "iterator __position;" type_identifier identifier ;) (expression_statement "__position._M_current =\n       (this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n       )._M_impl._M_finish;" (assignment_expression "__position._M_current =\n       (this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n       )._M_impl._M_finish" (field_expression "__position._M_current" identifier . field_identifier) = (field_expression "(this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n       )._M_impl._M_finish" (field_expression "(this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n       )._M_impl" (parenthesized_expression "(this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n       )" ( (ERROR "this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::" (comma_expression "this->\n       super__Vector_base<std::pair<int,_unsigned_char>,_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) , (binary_expression "_unsigned_char>,_std" identifier > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : :) (comma_expression "pair<int,_unsigned_char>_>_" (binary_expression "pair<int" identifier < identifier) , (binary_expression "_unsigned_char>_>_" (binary_expression "_unsigned_char>_" identifier > identifier) > identifier)) (ERROR ">" >) )) . field_identifier) . field_identifier)) ;) (if_statement "if (__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n      )._M_impl._M_end_of_storage) {\n    uVar1 = __args_0->second;\n    (__position._M_current)->first = __args_0->first;\n    (__position._M_current)->second = uVar1;\n    (this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" if (parenthesized_expression "(__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n      )._M_impl._M_end_of_storage)" ( (binary_expression "__position._M_current !=\n      (this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_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,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n      )._M_impl._M_end_of_storage" (field_expression "(this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n      )._M_impl" (parenthesized_expression "(this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n      )" ( (ERROR "this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::" (comma_expression "this->\n      super__Vector_base<std::pair<int,_unsigned_char>,_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) , (binary_expression "_unsigned_char>,_std" identifier > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : :) (comma_expression "pair<int,_unsigned_char>_>_" (binary_expression "pair<int" identifier < identifier) , (binary_expression "_unsigned_char>_>_" (binary_expression "_unsigned_char>_" identifier > identifier) > identifier)) (ERROR ">" >) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    uVar1 = __args_0->second;\n    (__position._M_current)->first = __args_0->first;\n    (__position._M_current)->second = uVar1;\n    (this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" { (expression_statement "uVar1 = __args_0->second;" (assignment_expression "uVar1 = __args_0->second" identifier = (field_expression "__args_0->second" identifier -> field_identifier)) ;) (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 = uVar1;" (assignment_expression "(__position._M_current)->second = uVar1" (field_expression "(__position._M_current)->second" (parenthesized_expression "(__position._M_current)" ( (field_expression "__position._M_current" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "(this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl._M_finish = __position._M_current + 1;" (assignment_expression "(this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl._M_finish = __position._M_current + 1" (field_expression "(this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl._M_finish" (field_expression "(this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )._M_impl" (parenthesized_expression "(this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::pair<int,_unsigned_char>_>_>\n    )" ( (ERROR "this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_std::allocator<std::" (comma_expression "this->\n    super__Vector_base<std::pair<int,_unsigned_char>,_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) , (binary_expression "_unsigned_char>,_std" identifier > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : :) (comma_expression "pair<int,_unsigned_char>_>_" (binary_expression "pair<int" identifier < identifier) , (binary_expression "_unsigned_char>_>_" (binary_expression "_unsigned_char>_" identifier > identifier) > identifier)) (ERROR ">" >) )) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "_M_realloc_insert<std::pair<int,_unsigned_char>_>(this,__position,__args_0);" (update_expression "_M_realloc_insert<std::pair<int,_unsigned_char>_>(this,__position,__args_0)" (binary_expression "_M_realloc_insert<std::pair<int,_unsigned_char>_>(this,__position,__args_0)" (binary_expression "_M_realloc_insert<std::pair<int,_unsigned_char>_" (binary_expression "_M_realloc_insert<std::pair<int" (binary_expression "_M_realloc_insert<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR ",_unsigned_char" , 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_0014ee50(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}\n\n" (function_definition "void FUN_0014ee50(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0014ee50(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 8))" ( (binary_expression "puVar2 != *(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) ))))) )) (compound_statement "{\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }" { (expression_statement "uVar1 = *(undefined1 *)(param_2 + 1);" (assignment_expression "uVar1 = *(undefined1 *)(param_2 + 1)" identifier = (pointer_expression "*(undefined1 *)(param_2 + 1)" * (cast_expression "(undefined1 *)(param_2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 1)" ( (binary_expression "param_2 + 1" identifier + number_literal) ))))) ;) (expression_statement "*puVar2 = *param_2;" (assignment_expression "*puVar2 = *param_2" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined1 *)(puVar2 + 1) = uVar1;" (assignment_expression "*(undefined1 *)(puVar2 + 1) = uVar1" (pointer_expression "*(undefined1 *)(puVar2 + 1)" * (cast_expression "(undefined1 *)(puVar2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 4) = puVar2 + 2;" (assignment_expression "*(undefined4 **)(param_1 + 4) = puVar2 + 2" (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = (binary_expression "puVar2 + 2" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0014ecd0(param_1,puVar2,param_2);" (call_expression "FUN_0014ecd0(param_1,puVar2,param_2)" identifier (argument_list "(param_1,puVar2,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0014ee50(int param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0014ee50(int param_1,undefined4 *param_2)" (identifier "FUN_0014ee50") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 4);\n  if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }\n  FUN_0014ecd0(param_1,puVar2,param_2);\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 4);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 4)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 8)) {\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 8))" (( "(") (binary_expression "puVar2 != *(undefined4 **)(param_1 + 8)" (identifier "puVar2") (!= "!=") (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")) () ")"))))) () ")")) (compound_statement "{\n    uVar1 = *(undefined1 *)(param_2 + 1);\n    *puVar2 = *param_2;\n    *(undefined1 *)(puVar2 + 1) = uVar1;\n    *(undefined4 **)(param_1 + 4) = puVar2 + 2;\n    return;\n  }" ({ "{") (expression_statement "uVar1 = *(undefined1 *)(param_2 + 1);" (assignment_expression "uVar1 = *(undefined1 *)(param_2 + 1)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(param_2 + 1)" (* "*") (cast_expression "(undefined1 *)(param_2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 1)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*puVar2 = *param_2;" (assignment_expression "*puVar2 = *param_2" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined1 *)(puVar2 + 1) = uVar1;" (assignment_expression "*(undefined1 *)(puVar2 + 1) = uVar1" (pointer_expression "*(undefined1 *)(puVar2 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 4) = puVar2 + 2;" (assignment_expression "*(undefined4 **)(param_1 + 4) = puVar2 + 2" (pointer_expression "*(undefined4 **)(param_1 + 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "puVar2 + 2" (identifier "puVar2") (+ "+") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0014ecd0(param_1,puVar2,param_2);" (call_expression "FUN_0014ecd0(param_1,puVar2,param_2)" (identifier "FUN_0014ecd0") (argument_list "(param_1,puVar2,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "puVar2") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall
var_6::vector<var_6::var_1<int,var_3>,_std::allocator<var_6::var_1<int,var_3>var_4>var_4>::
emplace_back<var_6::var_1<int,var_3>var_4>
          (vector<var_6::var_1<int,var_3>,_std::allocator<var_6::var_1<int,var_3>var_4>var_4>
           *this,var_1<int,var_3> *__args_0)

{
  uchar uVar1;
  type_1 __position;
  
  __position._M_current =
       (this->
       super__Vector_base<var_6::var_1<var_2,var_3>,_std::allocator<var_6::var_1<var_2,var_3>var_4>var_4>
       )._M_impl._M_finish;
  if (__position._M_current !=
      (this->
      super__Vector_base<var_6::var_1<var_2,var_3>,_std::allocator<var_6::var_1<var_2,var_3>var_4>var_4>
      )._M_impl._M_end_of_storage) {
    uVar1 = __args_0->second;
    (__position._M_current)->first = __args_0->first;
    (__position._M_current)->second = uVar1;
    (this->
    super__Vector_base<var_6::var_1<var_2,var_3>,_std::allocator<var_6::var_1<var_2,var_3>var_4>var_4>
    )._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  var_5<var_6::var_1<var_2,var_3>var_4>(this,__position,__args_0);
  return;
}


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

void MASKED(int param_1,undefined4 *param_2)

{
  undefined1 uVar1;
  undefined4 *puVar2;
  
  puVar2 = *(undefined4 **)(param_1 + 4);
  if (puVar2 != *(undefined4 **)(param_1 + 8)) {
    uVar1 = *(undefined1 *)(param_2 + 1);
    *puVar2 = *param_2;
    *(undefined1 *)(puVar2 + 1) = uVar1;
    *(undefined4 **)(param_1 + 4) = puVar2 + 2;
    return;
  }
  FUN_0014ecd0(param_1,puVar2,param_2);
  return;
}

