forked from gitter-badger/notes-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.h
96 lines (77 loc) · 2.22 KB
/
init.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#include "types.h"
/// address: 0x41A7B3
///
/// j_init_cpp_init initializes the C++ runtime of init.cpp.
void j_init_cpp_init();
/// address: 0x41A7B8
///
/// init_cpp_init initializes the C++ runtime of init.cpp.
void init_cpp_init();
/// address: 0x41A7C3
///
/// init_cleanup terminates initialized resources.
void __fastcall init_cleanup(bool32_t show_cursor);
/// address: 0x41A84C
///
/// init_run_office_from_start_menu runs Microsoft Office from the Start Menu if
/// a process with the "MOM Parent" class has been identified and killed.
void init_run_office_from_start_menu();
/// address: 0x41A8B9
///
/// init_run_office runs Microsoft Office if there exists a shortcut to it from
/// within the given directory.
void __fastcall init_run_office(char *dir);
/// address: 0x41AA2C
///
/// init_disable_screensaver either disables or restores the previous state of
/// the screensaver, depending on the given boolean value.
void __fastcall init_disable_screensaver(bool32_t disable);
/// address: 0x41AAC5
///
/// init_main_window initializes the main window.
void __fastcall init_main_window(int nCmdShow);
/// address: 0x41AC00
///
/// init_kill_mom_parent kills the "MOM Parent" process if present.
void init_kill_mom_parent();
/// address: 0x41AC21
///
/// init_find_mom_parent attempts to locate the "MOM Parent" process and return
/// its window handle.
HWND init_find_mom_parent();
/// address: 0x41AC71
///
/// init_await_mom_parent_exit waits up to 4 seconds for the "MOM Parent" process
/// to exit.
void init_await_mom_parent_exit();
/// address: 0x41ACA1
///
/// TODO: add documentation.
/// address: 0x41AD72
///
/// TODO: add documentation.
/// address: 0x41AF22
///
/// init_trim_trailing_slash removes up to one trailing slash characters from
/// path.
char * __fastcall init_strip_trailing_slash(char *path);
/// address: 0x41AF3A
///
/// TODO: add documentation.
/// address: 0x41AFCE
///
/// init_get_file_info retrieves the game path and version number from the
/// executable.
void init_get_file_info();
/// address: 0x41B06C
///
/// TODO: add documentation.
/// address: 0x41B105
///
/// TODO: add documentation.
/// address: 0x41B15F
///
/// TODO: add documentation.
/// address: 0x41B184
///
/// TODO: add documentation.