
/* std::__timepunct<char>::_M_put(char*, unsigned int, char const*, tm const*) const */

void __thiscall
std::__timepunct<char>::_M_put
          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR___strftime_l_0043688c)
                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));
  if (iVar1 == 0) {
    *param_1 = '\0';
  }
  return;
}



/* std::__timepunct<char>::_M_put(char*, unsigned int, char const*, tm const*) const */

void __thiscall
std::__timepunct<char>::_M_put
          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR___strftime_l_0043688c)
                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));
  if (iVar1 == 0) {
    *param_1 = '\0';
  }
  return;
}


lui gp,0x12
addiu gp,gp,0x7500
addu gp,gp,t9
addiu sp,sp,-0x28
lw v1,0xc(a0)
or v0,a3,zero
lw t9,-0x3944(gp)
lw a3,0x38(sp)
sw s0,0x20(sp)
or s0,a1,zero
sw gp,0x18(sp)
or a1,a2,zero
sw ra,0x24(sp)
or a2,v0,zero
sw v1,0x10(sp)
jalr t9
_or a0,s0,zero
bne v0,zero,0x00312d24
_lw ra,0x24(sp)
sb zero,0x0(s0)
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "/* std::__timepunct<char>::_M_put(char*, unsigned int, char const*, tm const*) const */\n\nvoid __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__timepunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" identifier (parameter_list "(__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" ( (parameter_declaration "__timepunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "tm *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" identifier = (call_expression "(*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" (parenthesized_expression "(*(code *)PTR___strftime_l_0043688c)" ( (pointer_expression "*(code *)PTR___strftime_l_0043688c" * (cast_expression "(code *)PTR___strftime_l_0043688c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" ( identifier , identifier , identifier , identifier , (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) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = '\0';\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = '\0';\n  }" { (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::__timepunct<char>::_M_put(char*, unsigned int, char const*, tm const*) const */\n\nvoid __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__timepunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" identifier (parameter_list "(__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" ( (parameter_declaration "__timepunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "tm *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" identifier = (call_expression "(*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" (parenthesized_expression "(*(code *)PTR___strftime_l_0043688c)" ( (pointer_expression "*(code *)PTR___strftime_l_0043688c" * (cast_expression "(code *)PTR___strftime_l_0043688c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" ( identifier , identifier , identifier , identifier , (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) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = '\0';\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = '\0';\n  }" { (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}\n\n" (function_definition "void __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__timepunct<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" identifier (parameter_list "(__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" ( (parameter_declaration "__timepunct<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "tm *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" identifier = (call_expression "(*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" (parenthesized_expression "(*(code *)PTR___strftime_l_0043688c)" ( (pointer_expression "*(code *)PTR___strftime_l_0043688c" * (cast_expression "(code *)PTR___strftime_l_0043688c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" ( identifier , identifier , identifier , identifier , (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) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = '\0';\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = '\0';\n  }" { (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (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) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) })) (return_statement return ;) })))
(function_definition "void __thiscall\nstd::__timepunct<char>::_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\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 "_M_put\n          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" (identifier "_M_put") (parameter_list "(__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)" (( "(") (parameter_declaration "__timepunct<char> *this" (type_identifier "__timepunct") (ERROR "<char>" (< "<") (primitive_type "char") (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "tm *param_4" (type_identifier "tm") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));\n  if (iVar1 == 0) {\n    *param_1 = '\0';\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));" (assignment_expression "iVar1 = (*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___strftime_l_0043688c)\n                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" (parenthesized_expression "(*(code *)PTR___strftime_l_0043688c)" (( "(") (pointer_expression "*(code *)PTR___strftime_l_0043688c" (* "*") (cast_expression "(code *)PTR___strftime_l_0043688c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___strftime_l_0043688c"))) () ")")) (argument_list "(param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc))" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (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")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    *param_1 = '\0';\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = '\0';\n  }" ({ "{") (expression_statement "*param_1 = '\0';" (assignment_expression "*param_1 = '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__timepunct<char>::_M_put(char*, unsigned int, char const*, tm const*) const */

void __thiscall
std::type_1<char>::function_1
          (type_1<char> *var_1,char *param_1,type_2 param_2,char *param_3,type_3 *param_4)

{
  int var_2;
  
  var_2 = (*(type_4 *)PTR___strftime_l_0043688c)
                    (param_1,param_2,param_3,param_4,*(type_5 *)(var_1 + 0xc));
  if (var_2 == 0) {
    *param_1 = '\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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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) (identifier) (identifier) (identifier) (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) (return_statement))))

/* std::__timepunct<char>::MASKED(char*, unsigned int, char const*, tm const*) const */

void __thiscall
std::__timepunct<char>::MASKED
          (__timepunct<char> *this,char *param_1,uint param_2,char *param_3,tm *param_4)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR___strftime_l_0043688c)
                    (param_1,param_2,param_3,param_4,*(undefined4 *)(this + 0xc));
  if (iVar1 == 0) {
    *param_1 = '\0';
  }
  return;
}

