
time_t rpl_mktime(tm *tp)

{
  time_t tVar1;
  
  (*(code *)PTR_tzset_000363d4)();
  tVar1 = mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,
                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680));
  return tVar1;
}



void rpl_mktime(undefined4 param_1)

{
  (*(code *)PTR_tzset_000363d4)();
  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);
  return;
}


lui gp,0x2
addiu gp,gp,-0x3258
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7d1c(gp)
sw ra,0x24(sp)
sw gp,0x10(sp)
sw a0,0x1c(sp)
jalr t9
_nop
lw gp,0x10(sp)
lw a0,0x1c(sp)
lw ra,0x24(sp)
addiu sp,sp,0x28
lw a2,-0x7fd8(gp)
lw a1,-0x7cf4(gp)
lw t9,-0x7e6c(gp)
b 0x00020998
_addiu a2,a2,0x6680
(translation_unit "void rpl_mktime(undefined4 param_1)\n\n{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}\n\n" (function_definition "void rpl_mktime(undefined4 param_1)\n\n{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}" primitive_type (function_declarator "rpl_mktime(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}" { (expression_statement "(*(code *)PTR_tzset_000363d4)();" (call_expression "(*(code *)PTR_tzset_000363d4)()" (parenthesized_expression "(*(code *)PTR_tzset_000363d4)" ( (pointer_expression "*(code *)PTR_tzset_000363d4" * (cast_expression "(code *)PTR_tzset_000363d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);" (call_expression "mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680)" identifier (argument_list "(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680)" ( identifier , identifier , (binary_expression "PTR_DAT_00036118 + 0x6680" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "time_t rpl_mktime(tm *tp)\n\n{\n  time_t tVar1;\n  \n  (*(code *)PTR_tzset_000363d4)();\n  tVar1 = mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680));\n  return tVar1;\n}\n\n" (function_definition "time_t rpl_mktime(tm *tp)\n\n{\n  time_t tVar1;\n  \n  (*(code *)PTR_tzset_000363d4)();\n  tVar1 = mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680));\n  return tVar1;\n}" type_identifier (function_declarator "rpl_mktime(tm *tp)" identifier (parameter_list "(tm *tp)" ( (parameter_declaration "tm *tp" type_identifier (pointer_declarator "*tp" * identifier)) ))) (compound_statement "{\n  time_t tVar1;\n  \n  (*(code *)PTR_tzset_000363d4)();\n  tVar1 = mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680));\n  return tVar1;\n}" { (declaration "time_t tVar1;" type_identifier identifier ;) (expression_statement "(*(code *)PTR_tzset_000363d4)();" (call_expression "(*(code *)PTR_tzset_000363d4)()" (parenthesized_expression "(*(code *)PTR_tzset_000363d4)" ( (pointer_expression "*(code *)PTR_tzset_000363d4" * (cast_expression "(code *)PTR_tzset_000363d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "tVar1 = mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680));" (assignment_expression "tVar1 = mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680))" identifier = (call_expression "mktime_internal(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680))" identifier (argument_list "(tp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc,\n                          (mktime_offset_t *)(PTR_DAT_00036118 + 0x6680))" ( identifier , (cast_expression "(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_localtime_r_000363fc" ( (type_descriptor "_func_tm_ptr_time_t_ptr_tm_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(mktime_offset_t *)(PTR_DAT_00036118 + 0x6680)" ( (type_descriptor "mktime_offset_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036118 + 0x6680)" ( (binary_expression "PTR_DAT_00036118 + 0x6680" identifier + number_literal) ))) )))) ;) (return_statement "return tVar1;" return identifier ;) })))
(translation_unit "void rpl_mktime(undefined4 param_1)\n\n{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}\n\n" (function_definition "void rpl_mktime(undefined4 param_1)\n\n{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}" primitive_type (function_declarator "rpl_mktime(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}" { (expression_statement "(*(code *)PTR_tzset_000363d4)();" (call_expression "(*(code *)PTR_tzset_000363d4)()" (parenthesized_expression "(*(code *)PTR_tzset_000363d4)" ( (pointer_expression "*(code *)PTR_tzset_000363d4" * (cast_expression "(code *)PTR_tzset_000363d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);" (call_expression "mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680)" identifier (argument_list "(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680)" ( identifier , identifier , (binary_expression "PTR_DAT_00036118 + 0x6680" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void rpl_mktime(undefined4 param_1)\n\n{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}" (primitive_type "void") (function_declarator "rpl_mktime(undefined4 param_1)" (identifier "rpl_mktime") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  (*(code *)PTR_tzset_000363d4)();\n  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);\n  return;\n}" ({ "{") (expression_statement "(*(code *)PTR_tzset_000363d4)();" (call_expression "(*(code *)PTR_tzset_000363d4)()" (parenthesized_expression "(*(code *)PTR_tzset_000363d4)" (( "(") (pointer_expression "*(code *)PTR_tzset_000363d4" (* "*") (cast_expression "(code *)PTR_tzset_000363d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_tzset_000363d4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);" (call_expression "mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680)" (identifier "mktime_internal") (argument_list "(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680)" (( "(") (identifier "param_1") (, ",") (identifier "PTR_localtime_r_000363fc") (, ",") (binary_expression "PTR_DAT_00036118 + 0x6680" (identifier "PTR_DAT_00036118") (+ "+") (number_literal "0x6680")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(undefined4 param_1)

{
  (*(code *)PTR_tzset_000363d4)();
  mktime_internal(param_1,PTR_localtime_r_000363fc,PTR_DAT_00036118 + 0x6680);
  return;
}

