
/* std::__timepunct<char>::__timepunct(std::__timepunct_cache<char>*, unsigned int) */

void __thiscall
std::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_vtable_004c2bbc + 8;
  *(__timepunct_cache **)(this + 8) = param_1;
  *(uint *)(this + 4) = (uint)(param_2 != 0);
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined **)this = puVar1;
  uVar2 = locale::facet::_S_get_c_name();
  puVar1 = PTR__M_initialize_timepunct_004c2c54;
                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */
  *(undefined4 *)(this + 0x10) = uVar2;
  (*(code *)puVar1)(this,0);
  return;
}



/* std::__timepunct<char>::__timepunct(std::__timepunct_cache<char>*, unsigned int) */

void __thiscall
std::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_vtable_004c2bbc + 8;
  *(__timepunct_cache **)(this + 8) = param_1;
  *(uint *)(this + 4) = (uint)(param_2 != 0);
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined **)this = puVar1;
  uVar2 = locale::facet::_S_get_c_name();
  puVar1 = PTR__M_initialize_timepunct_004c2c54;
                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */
  *(undefined4 *)(this + 0x10) = uVar2;
  (*(code *)puVar1)(this,0);
  return;
}


lui gp,0x18
addiu gp,gp,-0xe24
addu gp,gp,t9
lw v0,-0x6684(gp)
addiu sp,sp,-0x28
lw t9,-0x6680(gp)
sltu a2,zero,a2
addiu v0,v0,0x8
sw gp,0x10(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
sw s1,0x20(sp)
sw a1,0x8(a0)
sw a2,0x4(a0)
sw zero,0xc(a0)
bal 0x00333fec
_sw v0,0x0(a0)
or a1,zero,zero
lw gp,0x10(sp)
or a0,s0,zero
lw t9,-0x65ec(gp)
jalr t9
_sw v0,0x10(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "/* std::__timepunct<char>::__timepunct(std::__timepunct_cache<char>*, unsigned int) */\n\nvoid __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */\n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */\n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__timepunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" identifier (parameter_list "(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" ( (parameter_declaration "__timepunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__timepunct_cache *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */\n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_vtable_004c2bbc + 8;" (assignment_expression "puVar1 = PTR_vtable_004c2bbc + 8" identifier = (binary_expression "PTR_vtable_004c2bbc + 8" identifier + number_literal)) ;) (expression_statement "*(__timepunct_cache **)(this + 8) = param_1;" (assignment_expression "*(__timepunct_cache **)(this + 8) = param_1" (pointer_expression "*(__timepunct_cache **)(this + 8)" * (cast_expression "(__timepunct_cache **)(this + 8)" ( (type_descriptor "__timepunct_cache **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(this + 4) = (uint)(param_2 != 0);" (assignment_expression "*(uint *)(this + 4) = (uint)(param_2 != 0)" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + 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 "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)this = puVar1;" (assignment_expression "*(undefined **)this = puVar1" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (ERROR "uVar2 = locale::" (assignment_expression "uVar2 = locale" identifier = identifier) : :) (labeled_statement "facet::_S_get_c_name();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" identifier (argument_list "()" ( ))) ;)) (expression_statement "puVar1 = PTR__M_initialize_timepunct_004c2c54;" (assignment_expression "puVar1 = PTR__M_initialize_timepunct_004c2c54" identifier = identifier) ;) comment (expression_statement "*(undefined4 *)(this + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(this,0);" (call_expression "(*(code *)puVar1)(this,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::__timepunct<char>::__timepunct(std::__timepunct_cache<char>*, unsigned int) */\n\nvoid __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */\n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */\n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__timepunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" identifier (parameter_list "(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" ( (parameter_declaration "__timepunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__timepunct_cache *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */\n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_vtable_004c2bbc + 8;" (assignment_expression "puVar1 = PTR_vtable_004c2bbc + 8" identifier = (binary_expression "PTR_vtable_004c2bbc + 8" identifier + number_literal)) ;) (expression_statement "*(__timepunct_cache **)(this + 8) = param_1;" (assignment_expression "*(__timepunct_cache **)(this + 8) = param_1" (pointer_expression "*(__timepunct_cache **)(this + 8)" * (cast_expression "(__timepunct_cache **)(this + 8)" ( (type_descriptor "__timepunct_cache **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(this + 4) = (uint)(param_2 != 0);" (assignment_expression "*(uint *)(this + 4) = (uint)(param_2 != 0)" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + 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 "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)this = puVar1;" (assignment_expression "*(undefined **)this = puVar1" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (ERROR "uVar2 = locale::" (assignment_expression "uVar2 = locale" identifier = identifier) : :) (labeled_statement "facet::_S_get_c_name();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" identifier (argument_list "()" ( ))) ;)) (expression_statement "puVar1 = PTR__M_initialize_timepunct_004c2c54;" (assignment_expression "puVar1 = PTR__M_initialize_timepunct_004c2c54" identifier = identifier) ;) comment (expression_statement "*(undefined4 *)(this + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(this,0);" (call_expression "(*(code *)puVar1)(this,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    \n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}\n\n" (function_definition "void __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    \n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__timepunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" identifier (parameter_list "(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" ( (parameter_declaration "__timepunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "__timepunct_cache *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    \n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_vtable_004c2bbc + 8;" (assignment_expression "puVar1 = PTR_vtable_004c2bbc + 8" identifier = (binary_expression "PTR_vtable_004c2bbc + 8" identifier + number_literal)) ;) (expression_statement "*(__timepunct_cache **)(this + 8) = param_1;" (assignment_expression "*(__timepunct_cache **)(this + 8) = param_1" (pointer_expression "*(__timepunct_cache **)(this + 8)" * (cast_expression "(__timepunct_cache **)(this + 8)" ( (type_descriptor "__timepunct_cache **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(this + 4) = (uint)(param_2 != 0);" (assignment_expression "*(uint *)(this + 4) = (uint)(param_2 != 0)" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + 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 "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)this = puVar1;" (assignment_expression "*(undefined **)this = puVar1" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (ERROR "uVar2 = locale::" (assignment_expression "uVar2 = locale" identifier = identifier) : :) (labeled_statement "facet::_S_get_c_name();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" identifier (argument_list "()" ( ))) ;)) (expression_statement "puVar1 = PTR__M_initialize_timepunct_004c2c54;" (assignment_expression "puVar1 = PTR__M_initialize_timepunct_004c2c54" identifier = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(this,0);" (call_expression "(*(code *)puVar1)(this,0)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,0)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT < TYPE > : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (ERROR < TYPE >) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (ERROR (assignment_expression IDENT = IDENT) : :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void __thiscall\nstd::__timepunct<char>::__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    \n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::__timepunct<char>::" (identifier "std") (: ":") (: ":") (identifier "__timepunct") (< "<") (primitive_type "char") (> ">") (: ":") (: ":")) (function_declarator "__timepunct(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" (identifier "__timepunct") (parameter_list "(__timepunct<char> *this,__timepunct_cache *param_1,uint param_2)" (( "(") (parameter_declaration "__timepunct<char> *this" (type_identifier "__timepunct") (ERROR "<char>" (< "<") (primitive_type "char") (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "__timepunct_cache *param_1" (type_identifier "__timepunct_cache") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = PTR_vtable_004c2bbc + 8;\n  *(__timepunct_cache **)(this + 8) = param_1;\n  *(uint *)(this + 4) = (uint)(param_2 != 0);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined **)this = puVar1;\n  uVar2 = locale::facet::_S_get_c_name();\n  puVar1 = PTR__M_initialize_timepunct_004c2c54;\n                    \n  *(undefined4 *)(this + 0x10) = uVar2;\n  (*(code *)puVar1)(this,0);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = PTR_vtable_004c2bbc + 8;" (assignment_expression "puVar1 = PTR_vtable_004c2bbc + 8" (identifier "puVar1") (= "=") (binary_expression "PTR_vtable_004c2bbc + 8" (identifier "PTR_vtable_004c2bbc") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*(__timepunct_cache **)(this + 8) = param_1;" (assignment_expression "*(__timepunct_cache **)(this + 8) = param_1" (pointer_expression "*(__timepunct_cache **)(this + 8)" (* "*") (cast_expression "(__timepunct_cache **)(this + 8)" (( "(") (type_descriptor "__timepunct_cache **" (type_identifier "__timepunct_cache") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(uint *)(this + 4) = (uint)(param_2 != 0);" (assignment_expression "*(uint *)(this + 4) = (uint)(param_2 != 0)" (pointer_expression "*(uint *)(this + 4)" (* "*") (cast_expression "(uint *)(this + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (call_expression "(uint)(param_2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" (* "*") (cast_expression "(undefined4 *)(this + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined **)this = puVar1;" (assignment_expression "*(undefined **)this = puVar1" (pointer_expression "*(undefined **)this" (* "*") (cast_expression "(undefined **)this" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this"))) (= "=") (identifier "puVar1")) (; ";")) (ERROR "uVar2 = locale::" (assignment_expression "uVar2 = locale" (identifier "uVar2") (= "=") (identifier "locale")) (: ":") (: ":")) (labeled_statement "facet::_S_get_c_name();" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" (identifier "_S_get_c_name") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "puVar1 = PTR__M_initialize_timepunct_004c2c54;" (assignment_expression "puVar1 = PTR__M_initialize_timepunct_004c2c54" (identifier "puVar1") (= "=") (identifier "PTR__M_initialize_timepunct_004c2c54")) (; ";")) (expression_statement "*(undefined4 *)(this + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x10)" (* "*") (cast_expression "(undefined4 *)(this + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "(*(code *)puVar1)(this,0);" (call_expression "(*(code *)puVar1)(this,0)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(this,0)" (( "(") (identifier "this") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__timepunct<char>::__timepunct(std::__timepunct_cache<char>*, unsigned int) */

void __thiscall
std::function_1<char>::function_1(function_1<char> *var_2,type_1 *param_1,type_2 var_3)

{
  type_3 *puVar1;
  type_4 uVar2;
  
  puVar1 = var_1 + 8;
  *(type_1 **)(var_2 + 8) = param_1;
  *(type_2 *)(var_2 + 4) = (type_2)(var_3 != 0);
  *(type_4 *)(var_2 + 0xc) = 0;
  *(type_3 **)var_2 = puVar1;
  uVar2 = locale::facet::var_4();
  puVar1 = PTR__M_initialize_timepunct_004c2c54;
                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */
  *(type_4 *)(var_2 + 0x10) = uVar2;
  (*(type_5 *)puVar1)(var_2,0);
  return;
}


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

/* std::MASKED<char>::MASKED(std::MASKED_cache<char>*, unsigned int) */

void __thiscall
std::MASKED<char>::MASKED(MASKED<char> *this,MASKED_cache *param_1,uint param_2)

{
  undefined *puVar1;
  undefined4 uVar2;
  
  puVar1 = PTR_vtable_004c2bbc + 8;
  *(MASKED_cache **)(this + 8) = param_1;
  *(uint *)(this + 4) = (uint)(param_2 != 0);
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined **)this = puVar1;
  uVar2 = locale::facet::_S_get_c_name();
  puVar1 = PTR__M_initialize_timepunct_004c2c54;
                    /* try { // try from 0034a0bc to 0034a0c3 has its CatchHandler @ 0034a0d8 */
  *(undefined4 *)(this + 0x10) = uVar2;
  (*(code *)puVar1)(this,0);
  return;
}

