
/* std::time_put_byname<char, std::ostreambuf_iterator<char, std::char_traits<char> >
   >::time_put_byname(std::string const&, unsigned long) */

void __thiscall
std::time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::time_put_byname
          (time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,
          string *param_1,ulong param_2)

{
  *(uint *)(this + 8) = (uint)(param_2 != 0);
  *(undefined ***)this = &PTR__time_put_byname_00439158;
  return;
}



void FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)

{
  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);
  *param_1 = &PTR_FUN_00439158;
  return;
}


XOR EAX,EAX
TEST RDX,RDX
SETNZ AL
MOV dword ptr [RDI + 0x8],EAX
LEA RAX,[0x439148]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
RET
(translation_unit "void FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)\n\n{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}\n\n" (function_definition "void FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)\n\n{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}" primitive_type (function_declarator "FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}" { (expression_statement "*(uint *)(param_1 + 1) = (uint)(param_3 != 0);" (assignment_expression "*(uint *)(param_1 + 1) = (uint)(param_3 != 0)" (pointer_expression "*(uint *)(param_1 + 1)" * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &PTR_FUN_00439158;" (assignment_expression "*param_1 = &PTR_FUN_00439158" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439158" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::time_put_byname<char, std::ostreambuf_iterator<char, std::char_traits<char> >\n   >::time_put_byname(std::string const&, unsigned long) */\n\nvoid __thiscall\nstd::time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::time_put_byname\n          (time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,\n          string *param_1,ulong param_2)\n\n{\n  *(uint *)(this + 8) = (uint)(param_2 != 0);\n  *(undefined ***)this = &PTR__time_put_byname_00439158;\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::time_put_byname\n          (time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,\n          string *param_1,ulong param_2)\n\n{\n  *(uint *)(this + 8) = (uint)(param_2 != 0);" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>>::time_put_byname\n          (time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,\n          string *param_1,ulong param_2)\n\n{" identifier : : identifier < primitive_type >> > : : (function_declarator "time_put_byname\n          (time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,\n          string *param_1,ulong param_2)" identifier (parameter_list "(time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,\n          string *param_1,ulong param_2)" ( (parameter_declaration "time_put_byname" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "std::ostreambuf_iterator" type_identifier (ERROR "::" : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "std::char_traits<char>>> *this" type_identifier (ERROR "::char_traits<char>>>" : : identifier < primitive_type >> >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) {) (init_declarator "*(uint *)(this + 8) = (uint)(param_2 != 0)" (pointer_declarator "*(uint *)(this + 8)" * (function_declarator "(uint *)(this + 8)" (parenthesized_declarator "(uint *)" ( identifier (ERROR "*" *) )) (parameter_list "(this + 8)" ( (parameter_declaration "this" type_identifier) (ERROR "+ 8" + number_literal) )))) = (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )))) ;) (expression_statement "*(undefined ***)this = &PTR__time_put_byname_00439158;" (assignment_expression "*(undefined ***)this = &PTR__time_put_byname_00439158" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__time_put_byname_00439158" & identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)\n\n{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}\n\n" (function_definition "void FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)\n\n{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}" primitive_type (function_declarator "FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,long param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}" { (expression_statement "*(uint *)(param_1 + 1) = (uint)(param_3 != 0);" (assignment_expression "*(uint *)(param_1 + 1) = (uint)(param_3 != 0)" (pointer_expression "*(uint *)(param_1 + 1)" * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )))) ;) (expression_statement "*param_1 = &PTR_FUN_00439158;" (assignment_expression "*param_1 = &PTR_FUN_00439158" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439158" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)\n\n{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0034dde0(undefined8 *param_1,undefined8 param_2,long param_3)" (identifier "FUN_0034dde0") (parameter_list "(undefined8 *param_1,undefined8 param_2,long param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);\n  *param_1 = &PTR_FUN_00439158;\n  return;\n}" ({ "{") (expression_statement "*(uint *)(param_1 + 1) = (uint)(param_3 != 0);" (assignment_expression "*(uint *)(param_1 + 1) = (uint)(param_3 != 0)" (pointer_expression "*(uint *)(param_1 + 1)" (* "*") (cast_expression "(uint *)(param_1 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (call_expression "(uint)(param_3 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00439158;" (assignment_expression "*param_1 = &PTR_FUN_00439158" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00439158" (& "&") (identifier "PTR_FUN_00439158"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::time_put_byname<char, std::ostreambuf_iterator<char, std::char_traits<char> >
   >::time_put_byname(std::string const&, unsigned long) */

void __thiscall
std::time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::time_put_byname
          (time_put_byname<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *type_1,
          string *param_1,ulong var_1)

{
  *(function_1 *)(type_1 + 8) = (function_1)(var_1 != 0);
  *(type_2 ***)type_1 = &PTR__time_put_byname_00439158;
  return;
}


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

void MASKED(undefined8 *param_1,undefined8 param_2,long param_3)

{
  *(uint *)(param_1 + 1) = (uint)(param_3 != 0);
  *param_1 = &PTR_FUN_00439158;
  return;
}

