
/* char* std::string::_S_construct<__normal_iterator<char*, std::string > >(__normal_iterator<char*,
   std::string >, __normal_iterator<char*, std::string >, std::allocator<char> const&,
   std::forward_iterator_tag) */

char * std::string::_S_construct<__normal_iterator<char*,std::string>>
                 (undefined1 *param_1,undefined1 *param_2,allocator *param_3)

{
  ulong *puVar1;
  ulong *__dest;
  ulong __n;
  
  if (param_2 != param_1) {
    __n = (long)param_2 - (long)param_1;
    puVar1 = (ulong *)_Rep::_S_create(__n,0,param_3);
    __dest = puVar1 + 3;
    if (__n == 1) {
      *(undefined1 *)(puVar1 + 3) = *param_1;
    }
    else {
      __dest = (ulong *)memcpy(__dest,param_1,__n);
    }
    if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {
      *(undefined4 *)(puVar1 + 2) = 0;
      *puVar1 = __n;
      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;
    }
    return (char *)__dest;
  }
  return &DAT_0044a558;
}



size_t * FUN_0030f070(undefined1 *param_1,undefined1 *param_2)

{
  size_t *psVar1;
  size_t *__dest;
  size_t __n;
  
  if (param_2 != param_1) {
    __n = (long)param_2 - (long)param_1;
    psVar1 = (size_t *)FUN_0030d850(__n,0);
    __dest = psVar1 + 3;
    if (__n == 1) {
      *(undefined1 *)(psVar1 + 3) = *param_1;
    }
    else {
      __dest = (size_t *)memcpy(__dest,param_1,__n);
    }
    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {
      *(undefined4 *)(psVar1 + 2) = 0;
      *psVar1 = __n;
      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;
    }
    return __dest;
  }
  return (size_t *)&DAT_0044a558;
}


CMP RSI,RDI
JZ 0x0030f0c0
PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV RBX,RSI
XOR ESI,ESI
SUB RBX,RDI
MOV RDI,RBX
CALL 0x0030d850
MOV R12,RAX
LEA RCX,[RAX + 0x18]
CMP RBX,0x1
JZ 0x0030f0d0
MOV RDI,RCX
MOV RDX,RBX
MOV RSI,RBP
CALL 0x00147aa0
MOV RCX,RAX
CMP R12,qword ptr [0x0043dc38]
JNZ 0x0030f0e0
POP RBX
MOV RAX,RCX
POP RBP
POP R12
RET
LEA RAX,[0x44a540]
LEA RCX,[RAX + 0x18]
MOV RAX,RCX
RET
MOVZX EAX,byte ptr [RBP]
MOV byte ptr [R12 + 0x18],AL
JMP 0x0030f0aa
MOV dword ptr [R12 + 0x10],0x0
MOV qword ptr [R12],RBX
MOV byte ptr [R12 + RBX*0x1 + 0x18],0x0
JMP 0x0030f0b3
(translation_unit "size_t * FUN_0030f070(undefined1 *param_1,undefined1 *param_2)\n\n{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}\n\n" (function_definition "size_t * FUN_0030f070(undefined1 *param_1,undefined1 *param_2)\n\n{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}" primitive_type (pointer_declarator "* FUN_0030f070(undefined1 *param_1,undefined1 *param_2)" * (function_declarator "FUN_0030f070(undefined1 *param_1,undefined1 *param_2)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}" { (declaration "size_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "size_t *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (if_statement "if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }" { (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" identifier = (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "psVar1 = (size_t *)FUN_0030d850(__n,0);" (assignment_expression "psVar1 = (size_t *)FUN_0030d850(__n,0)" identifier = (cast_expression "(size_t *)FUN_0030d850(__n,0)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0030d850(__n,0)" identifier (argument_list "(__n,0)" ( identifier , number_literal ))))) ;) (expression_statement "__dest = psVar1 + 3;" (assignment_expression "__dest = psVar1 + 3" identifier = (binary_expression "psVar1 + 3" identifier + number_literal)) ;) (if_statement "if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }" { (expression_statement "*(undefined1 *)(psVar1 + 3) = *param_1;" (assignment_expression "*(undefined1 *)(psVar1 + 3) = *param_1" (pointer_expression "*(undefined1 *)(psVar1 + 3)" * (cast_expression "(undefined1 *)(psVar1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar1 + 3)" ( (binary_expression "psVar1 + 3" identifier + number_literal) )))) = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" else (compound_statement "{\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" { (expression_statement "__dest = (size_t *)memcpy(__dest,param_1,__n);" (assignment_expression "__dest = (size_t *)memcpy(__dest,param_1,__n)" identifier = (cast_expression "(size_t *)memcpy(__dest,param_1,__n)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,param_1,__n)" identifier (argument_list "(__dest,param_1,__n)" ( identifier , identifier , identifier ))))) ;) }))) (if_statement "if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }" if (parenthesized_expression "(psVar1 != (size_t *)PTR_DAT_0043dc38)" ( (binary_expression "psVar1 != (size_t *)PTR_DAT_0043dc38" identifier != (cast_expression "(size_t *)PTR_DAT_0043dc38" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }" { (expression_statement "*(undefined4 *)(psVar1 + 2) = 0;" (assignment_expression "*(undefined4 *)(psVar1 + 2) = 0" (pointer_expression "*(undefined4 *)(psVar1 + 2)" * (cast_expression "(undefined4 *)(psVar1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar1 + 2)" ( (binary_expression "psVar1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*psVar1 = __n;" (assignment_expression "*psVar1 = __n" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)((long)psVar1 + __n + 0x18) = 0;" (assignment_expression "*(undefined1 *)((long)psVar1 + __n + 0x18) = 0" (pointer_expression "*(undefined1 *)((long)psVar1 + __n + 0x18)" * (cast_expression "(undefined1 *)((long)psVar1 + __n + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)psVar1 + __n + 0x18)" ( (binary_expression "(long)psVar1 + __n + 0x18" (binary_expression "(long)psVar1 + __n" (cast_expression "(long)psVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return __dest;" return identifier ;) })) (return_statement "return (size_t *)&DAT_0044a558;" return (cast_expression "(size_t *)&DAT_0044a558" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0044a558" & identifier)) ;) })))
(translation_unit "/* char* std::string::_S_construct<__normal_iterator<char*, std::string > >(__normal_iterator<char*,\n   std::string >, __normal_iterator<char*, std::string >, std::allocator<char> const&,\n   std::forward_iterator_tag) */\n\nchar * std::string::_S_construct<__normal_iterator<char*,std::string>>\n                 (undefined1 *param_1,undefined1 *param_2,allocator *param_3)\n\n{\n  ulong *puVar1;\n  ulong *__dest;\n  ulong __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    puVar1 = (ulong *)_Rep::_S_create(__n,0,param_3);\n    __dest = puVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }\n    if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }\n    return (char *)__dest;\n  }\n  return &DAT_0044a558;\n}\n\n" comment (function_definition "char * std::string::_S_construct<__normal_iterator<char*,std::string>>\n                 (undefined1 *param_1,undefined1 *param_2,allocator *param_3)\n\n{\n  ulong *puVar1;\n  ulong *__dest;\n  ulong __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    puVar1 = (ulong *)_Rep::_S_create(__n,0,param_3);\n    __dest = puVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }\n    if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }\n    return (char *)__dest;\n  }\n  return &DAT_0044a558;\n}" primitive_type (pointer_declarator "* std::string::_S_construct<__normal_iterator<char*,std::string>>\n                 (undefined1 *param_1,undefined1 *param_2,allocator *param_3)" * (ERROR "std::string::_S_construct<__normal_iterator<char" identifier : : identifier : : identifier < identifier < primitive_type) (function_declarator "*,std::string>>\n                 (undefined1 *param_1,undefined1 *param_2,allocator *param_3)" (pointer_declarator "*,std::string" * (ERROR ",std::" , identifier : :) identifier) (ERROR ">>" >>) (parameter_list "(undefined1 *param_1,undefined1 *param_2,allocator *param_3)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "allocator *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  ulong *puVar1;\n  ulong *__dest;\n  ulong __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    puVar1 = (ulong *)_Rep::_S_create(__n,0,param_3);\n    __dest = puVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }\n    if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }\n    return (char *)__dest;\n  }\n  return &DAT_0044a558;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ulong *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (declaration "ulong __n;" type_identifier identifier ;) (if_statement "if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    puVar1 = (ulong *)_Rep::_S_create(__n,0,param_3);\n    __dest = puVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }\n    if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }\n    return (char *)__dest;\n  }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n    __n = (long)param_2 - (long)param_1;\n    puVar1 = (ulong *)_Rep::_S_create(__n,0,param_3);\n    __dest = puVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }\n    if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }\n    return (char *)__dest;\n  }" { (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" identifier = (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (ERROR "puVar1 = (ulong *)_Rep::" (assignment_expression "puVar1 = (ulong *)_Rep" identifier = (cast_expression "(ulong *)_Rep" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) : :) (expression_statement "_S_create(__n,0,param_3);" (call_expression "_S_create(__n,0,param_3)" identifier (argument_list "(__n,0,param_3)" ( identifier , number_literal , identifier ))) ;) (expression_statement "__dest = puVar1 + 3;" (assignment_expression "__dest = puVar1 + 3" identifier = (binary_expression "puVar1 + 3" identifier + number_literal)) ;) (if_statement "if (__n == 1) {\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(puVar1 + 3) = *param_1;\n    }" { (expression_statement "*(undefined1 *)(puVar1 + 3) = *param_1;" (assignment_expression "*(undefined1 *)(puVar1 + 3) = *param_1" (pointer_expression "*(undefined1 *)(puVar1 + 3)" * (cast_expression "(undefined1 *)(puVar1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) )))) = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }" else (compound_statement "{\n      __dest = (ulong *)memcpy(__dest,param_1,__n);\n    }" { (expression_statement "__dest = (ulong *)memcpy(__dest,param_1,__n);" (assignment_expression "__dest = (ulong *)memcpy(__dest,param_1,__n)" identifier = (cast_expression "(ulong *)memcpy(__dest,param_1,__n)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,param_1,__n)" identifier (argument_list "(__dest,param_1,__n)" ( identifier , identifier , identifier ))))) ;) }))) (if_statement "if (puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38) {\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }" if (parenthesized_expression "(puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38)" ( (binary_expression "puVar1 != (ulong *)PTR__S_empty_rep_storage_0043dc38" identifier != (cast_expression "(ulong *)PTR__S_empty_rep_storage_0043dc38" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      *(undefined4 *)(puVar1 + 2) = 0;\n      *puVar1 = __n;\n      *(undefined1 *)((long)puVar1 + __n + 0x18) = 0;\n    }" { (expression_statement "*(undefined4 *)(puVar1 + 2) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 2) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 2)" * (cast_expression "(undefined4 *)(puVar1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar1 = __n;" (assignment_expression "*puVar1 = __n" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)((long)puVar1 + __n + 0x18) = 0;" (assignment_expression "*(undefined1 *)((long)puVar1 + __n + 0x18) = 0" (pointer_expression "*(undefined1 *)((long)puVar1 + __n + 0x18)" * (cast_expression "(undefined1 *)((long)puVar1 + __n + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar1 + __n + 0x18)" ( (binary_expression "(long)puVar1 + __n + 0x18" (binary_expression "(long)puVar1 + __n" (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return (char *)__dest;" return (cast_expression "(char *)__dest" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (return_statement "return &DAT_0044a558;" return (pointer_expression "&DAT_0044a558" & identifier) ;) })))
(translation_unit "size_t * FUN_0030f070(undefined1 *param_1,undefined1 *param_2)\n\n{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}\n\n" (function_definition "size_t * FUN_0030f070(undefined1 *param_1,undefined1 *param_2)\n\n{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}" primitive_type (pointer_declarator "* FUN_0030f070(undefined1 *param_1,undefined1 *param_2)" * (function_declarator "FUN_0030f070(undefined1 *param_1,undefined1 *param_2)" identifier (parameter_list "(undefined1 *param_1,undefined1 *param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}" { (declaration "size_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "size_t *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (if_statement "if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }" { (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" identifier = (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "psVar1 = (size_t *)FUN_0030d850(__n,0);" (assignment_expression "psVar1 = (size_t *)FUN_0030d850(__n,0)" identifier = (cast_expression "(size_t *)FUN_0030d850(__n,0)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0030d850(__n,0)" identifier (argument_list "(__n,0)" ( identifier , number_literal ))))) ;) (expression_statement "__dest = psVar1 + 3;" (assignment_expression "__dest = psVar1 + 3" identifier = (binary_expression "psVar1 + 3" identifier + number_literal)) ;) (if_statement "if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }" { (expression_statement "*(undefined1 *)(psVar1 + 3) = *param_1;" (assignment_expression "*(undefined1 *)(psVar1 + 3) = *param_1" (pointer_expression "*(undefined1 *)(psVar1 + 3)" * (cast_expression "(undefined1 *)(psVar1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar1 + 3)" ( (binary_expression "psVar1 + 3" identifier + number_literal) )))) = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" else (compound_statement "{\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" { (expression_statement "__dest = (size_t *)memcpy(__dest,param_1,__n);" (assignment_expression "__dest = (size_t *)memcpy(__dest,param_1,__n)" identifier = (cast_expression "(size_t *)memcpy(__dest,param_1,__n)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,param_1,__n)" identifier (argument_list "(__dest,param_1,__n)" ( identifier , identifier , identifier ))))) ;) }))) (if_statement "if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }" if (parenthesized_expression "(psVar1 != (size_t *)PTR_DAT_0043dc38)" ( (binary_expression "psVar1 != (size_t *)PTR_DAT_0043dc38" identifier != (cast_expression "(size_t *)PTR_DAT_0043dc38" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }" { (expression_statement "*(undefined4 *)(psVar1 + 2) = 0;" (assignment_expression "*(undefined4 *)(psVar1 + 2) = 0" (pointer_expression "*(undefined4 *)(psVar1 + 2)" * (cast_expression "(undefined4 *)(psVar1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar1 + 2)" ( (binary_expression "psVar1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*psVar1 = __n;" (assignment_expression "*psVar1 = __n" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)((long)psVar1 + __n + 0x18) = 0;" (assignment_expression "*(undefined1 *)((long)psVar1 + __n + 0x18) = 0" (pointer_expression "*(undefined1 *)((long)psVar1 + __n + 0x18)" * (cast_expression "(undefined1 *)((long)psVar1 + __n + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)psVar1 + __n + 0x18)" ( (binary_expression "(long)psVar1 + __n + 0x18" (binary_expression "(long)psVar1 + __n" (cast_expression "(long)psVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return __dest;" return identifier ;) })) (return_statement "return (size_t *)&DAT_0044a558;" return (cast_expression "(size_t *)&DAT_0044a558" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0044a558" & identifier)) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (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 * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) })) (return_statement return IDENT ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) ;) })))
(function_definition "size_t * FUN_0030f070(undefined1 *param_1,undefined1 *param_2)\n\n{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}" (primitive_type "size_t") (pointer_declarator "* FUN_0030f070(undefined1 *param_1,undefined1 *param_2)" (* "*") (function_declarator "FUN_0030f070(undefined1 *param_1,undefined1 *param_2)" (identifier "FUN_0030f070") (parameter_list "(undefined1 *param_1,undefined1 *param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  size_t *psVar1;\n  size_t *__dest;\n  size_t __n;\n  \n  if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }\n  return (size_t *)&DAT_0044a558;\n}" ({ "{") (declaration "size_t *psVar1;" (primitive_type "size_t") (pointer_declarator "*psVar1" (* "*") (identifier "psVar1")) (; ";")) (declaration "size_t *__dest;" (primitive_type "size_t") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (if_statement "if (param_2 != param_1) {\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }" (if "if") (parenthesized_expression "(param_2 != param_1)" (( "(") (binary_expression "param_2 != param_1" (identifier "param_2") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n    __n = (long)param_2 - (long)param_1;\n    psVar1 = (size_t *)FUN_0030d850(__n,0);\n    __dest = psVar1 + 3;\n    if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }\n    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }\n    return __dest;\n  }" ({ "{") (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" (identifier "__n") (= "=") (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "psVar1 = (size_t *)FUN_0030d850(__n,0);" (assignment_expression "psVar1 = (size_t *)FUN_0030d850(__n,0)" (identifier "psVar1") (= "=") (cast_expression "(size_t *)FUN_0030d850(__n,0)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0030d850(__n,0)" (identifier "FUN_0030d850") (argument_list "(__n,0)" (( "(") (identifier "__n") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "__dest = psVar1 + 3;" (assignment_expression "__dest = psVar1 + 3" (identifier "__dest") (= "=") (binary_expression "psVar1 + 3" (identifier "psVar1") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (__n == 1) {\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }\n    else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" (if "if") (parenthesized_expression "(__n == 1)" (( "(") (binary_expression "__n == 1" (identifier "__n") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      *(undefined1 *)(psVar1 + 3) = *param_1;\n    }" ({ "{") (expression_statement "*(undefined1 *)(psVar1 + 3) = *param_1;" (assignment_expression "*(undefined1 *)(psVar1 + 3) = *param_1" (pointer_expression "*(undefined1 *)(psVar1 + 3)" (* "*") (cast_expression "(undefined1 *)(psVar1 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar1 + 3)" (( "(") (binary_expression "psVar1 + 3" (identifier "psVar1") (+ "+") (number_literal "3")) () ")")))) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")) (else_clause "else {\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" (else "else") (compound_statement "{\n      __dest = (size_t *)memcpy(__dest,param_1,__n);\n    }" ({ "{") (expression_statement "__dest = (size_t *)memcpy(__dest,param_1,__n);" (assignment_expression "__dest = (size_t *)memcpy(__dest,param_1,__n)" (identifier "__dest") (= "=") (cast_expression "(size_t *)memcpy(__dest,param_1,__n)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "memcpy(__dest,param_1,__n)" (identifier "memcpy") (argument_list "(__dest,param_1,__n)" (( "(") (identifier "__dest") (, ",") (identifier "param_1") (, ",") (identifier "__n") () ")"))))) (; ";")) (} "}")))) (if_statement "if (psVar1 != (size_t *)PTR_DAT_0043dc38) {\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }" (if "if") (parenthesized_expression "(psVar1 != (size_t *)PTR_DAT_0043dc38)" (( "(") (binary_expression "psVar1 != (size_t *)PTR_DAT_0043dc38" (identifier "psVar1") (!= "!=") (cast_expression "(size_t *)PTR_DAT_0043dc38" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0043dc38"))) () ")")) (compound_statement "{\n      *(undefined4 *)(psVar1 + 2) = 0;\n      *psVar1 = __n;\n      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;\n    }" ({ "{") (expression_statement "*(undefined4 *)(psVar1 + 2) = 0;" (assignment_expression "*(undefined4 *)(psVar1 + 2) = 0" (pointer_expression "*(undefined4 *)(psVar1 + 2)" (* "*") (cast_expression "(undefined4 *)(psVar1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(psVar1 + 2)" (( "(") (binary_expression "psVar1 + 2" (identifier "psVar1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*psVar1 = __n;" (assignment_expression "*psVar1 = __n" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (= "=") (identifier "__n")) (; ";")) (expression_statement "*(undefined1 *)((long)psVar1 + __n + 0x18) = 0;" (assignment_expression "*(undefined1 *)((long)psVar1 + __n + 0x18) = 0" (pointer_expression "*(undefined1 *)((long)psVar1 + __n + 0x18)" (* "*") (cast_expression "(undefined1 *)((long)psVar1 + __n + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)psVar1 + __n + 0x18)" (( "(") (binary_expression "(long)psVar1 + __n + 0x18" (binary_expression "(long)psVar1 + __n" (cast_expression "(long)psVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "psVar1")) (+ "+") (identifier "__n")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return __dest;" (return "return") (identifier "__dest") (; ";")) (} "}"))) (return_statement "return (size_t *)&DAT_0044a558;" (return "return") (cast_expression "(size_t *)&DAT_0044a558" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0044a558" (& "&") (identifier "DAT_0044a558"))) (; ";")) (} "}")))

/* char* std::string::_S_construct<__normal_iterator<char*, std::string > >(__normal_iterator<char*,
   std::string >, __normal_iterator<char*, std::string >, std::allocator<char> const&,
   std::forward_iterator_tag) */

char * std::string::_S_construct<__normal_iterator<char*,std::string>>
                 (type_1 *var_2,type_1 *var_1,type_2 *param_3)

{
  type_3 *var_4;
  type_3 *__dest;
  type_3 var_5;
  
  if (var_1 != var_2) {
    var_5 = (long)var_1 - (long)var_2;
    var_4 = (type_3 *)_Rep::var_3(var_5,0,param_3);
    __dest = var_4 + 3;
    if (var_5 == 1) {
      *(type_1 *)(var_4 + 3) = *var_2;
    }
    else {
      __dest = (type_3 *)var_6(__dest,var_2,var_5);
    }
    if (var_4 != (type_3 *)PTR__S_empty_rep_storage_0043dc38) {
      *(type_4 *)(var_4 + 2) = 0;
      *var_4 = var_5;
      *(type_1 *)((long)var_4 + var_5 + 0x18) = 0;
    }
    return (char *)__dest;
  }
  return &DAT_0044a558;
}


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

size_t * MASKED(undefined1 *param_1,undefined1 *param_2)

{
  size_t *psVar1;
  size_t *__dest;
  size_t __n;
  
  if (param_2 != param_1) {
    __n = (long)param_2 - (long)param_1;
    psVar1 = (size_t *)FUN_0030d850(__n,0);
    __dest = psVar1 + 3;
    if (__n == 1) {
      *(undefined1 *)(psVar1 + 3) = *param_1;
    }
    else {
      __dest = (size_t *)memcpy(__dest,param_1,__n);
    }
    if (psVar1 != (size_t *)PTR_DAT_0043dc38) {
      *(undefined4 *)(psVar1 + 2) = 0;
      *psVar1 = __n;
      *(undefined1 *)((long)psVar1 + __n + 0x18) = 0;
    }
    return __dest;
  }
  return (size_t *)&DAT_0044a558;
}

