
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

time_t rpl_timegm(tm *tmp)

{
  time_t tVar1;
  
  tmp->tm_isdst = 0;
  tVar1 = mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,
                          &rpl_timegm::gmtime_offset);
  return tVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0001da10(int param_1)

{
  *(undefined4 *)(param_1 + 0x20) = 0;
  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);
  return;
}


PUSH EBX
CALL 0x00012ce0
ADD EBX,0xd5ea
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EAX + 0x20],0x0
LEA EDX,[EBX + 0x424]
PUSH EDX
PUSH dword ptr [EBX + 0xffffffec]
PUSH EAX
CALL 0x0001e290
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001da10(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}\n\n" comment (function_definition "void FUN_0001da10(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}" primitive_type (function_declarator "FUN_0001da10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);" (call_expression "FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424)" identifier (argument_list "(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424)" ( identifier , identifier , (pointer_expression "&DAT_0002b424" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\ntime_t rpl_timegm(tm *tmp)\n\n{\n  time_t tVar1;\n  \n  tmp->tm_isdst = 0;\n  tVar1 = mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset);\n  return tVar1;\n}\n\n" comment comment (function_definition "time_t rpl_timegm(tm *tmp)\n\n{\n  time_t tVar1;\n  \n  tmp->tm_isdst = 0;\n  tVar1 = mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset);\n  return tVar1;\n}" type_identifier (function_declarator "rpl_timegm(tm *tmp)" identifier (parameter_list "(tm *tmp)" ( (parameter_declaration "tm *tmp" type_identifier (pointer_declarator "*tmp" * identifier)) ))) (compound_statement "{\n  time_t tVar1;\n  \n  tmp->tm_isdst = 0;\n  tVar1 = mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset);\n  return tVar1;\n}" { (declaration "time_t tVar1;" type_identifier identifier ;) (expression_statement "tmp->tm_isdst = 0;" (assignment_expression "tmp->tm_isdst = 0" (field_expression "tmp->tm_isdst" identifier -> field_identifier) = number_literal) ;) (expression_statement "tVar1 = mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset);" (assignment_expression "tVar1 = mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset)" identifier = (call_expression "mktime_internal(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset)" identifier (argument_list "(tmp,(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec,\n                          &rpl_timegm::gmtime_offset)" ( identifier , (cast_expression "(_func_tm_ptr_time_t_ptr_tm_ptr *)PTR_gmtime_r_0002afec" ( (type_descriptor "_func_tm_ptr_time_t_ptr_tm_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (ERROR "&rpl_timegm::" (pointer_expression "&rpl_timegm" & identifier) : :) identifier )))) ;) (return_statement "return tVar1;" return identifier ;) })))
(translation_unit "void FUN_0001da10(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}\n\n" (function_definition "void FUN_0001da10(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}" primitive_type (function_declarator "FUN_0001da10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);" (call_expression "FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424)" identifier (argument_list "(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424)" ( identifier , identifier , (pointer_expression "&DAT_0002b424" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE 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 (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0001da10(int param_1)\n\n{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001da10(int param_1)" (identifier "FUN_0001da10") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0x20) = 0;\n  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);" (call_expression "FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424)" (identifier "FUN_0001e290") (argument_list "(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424)" (( "(") (identifier "param_1") (, ",") (identifier "PTR_gmtime_r_0002afec") (, ",") (pointer_expression "&DAT_0002b424" (& "&") (identifier "DAT_0002b424")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *tmp)

{
  type_1 tVar1;
  
  tmp->tm_isdst = 0;
  tVar1 = var_1(tmp,(type_3 *)PTR_gmtime_r_0002afec,
                          &function_1::gmtime_offset);
  return tVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1)

{
  *(undefined4 *)(param_1 + 0x20) = 0;
  FUN_0001e290(param_1,PTR_gmtime_r_0002afec,&DAT_0002b424);
  return;
}

