Melee Modding Library  2.0.0
A C library for modding Super Smash Bros Melee
native_functions_102.h
Go to the documentation of this file.
1 
6 #ifndef MML_NATIVE_FUNCTIONS_102_H
7 #define MML_NATIVE_FUNCTIONS_102_H
8 
10 #define VOID_PTR(x) ((void*) (x))
11 
12 /************************* gamestate.h ************************/
13 
15 #define PLAYER_ENTITY_FPTR VOID_PTR(0x80034110)
16 
17 /************************** random.h **************************/
18 
20 #define RAND_INT_FPTR VOID_PTR(0x80380580)
21 
22 /************************** system.h **************************/
23 
25 #define OS_CREATE_HEAP_FPTR VOID_PTR(0x803440e8)
26 
28 #define OS_ALLOC_FROM_HEAP_FPTR VOID_PTR(0x80343ef0)
29 
31 #define OS_FREE_TO_HEAP_FPTR VOID_PTR(0x80343fec)
32 
33 /************************** string.h **************************/
34 
36 #define MEM_CHR_FPTR VOID_PTR(0x8032390c)
37 
39 #define MEM_CMP_FPTR VOID_PTR(0x803238c8)
40 
42 #define MEM_CPY_FPTR VOID_PTR(0x800031f4)
43 
45 #define MEM_SET_FPTR VOID_PTR(0x80003130)
46 
48 #define STR_CHR_FPTR VOID_PTR(0x8032578)
49 
51 #define STR_CMP_FPTR VOID_PTR(0x803258e8)
52 
54 #define STRN_CMP_FPTR VOID_PTR(0x803258a8)
55 
57 #define STR_CPY_FPTR VOID_PTR(0x80325a50)
58 
60 #define STRN_CPY_FPTR VOID_PTR(0x80325a0c)
61 
63 #define STR_LEN_FPTR VOID_PTR(0x80325b04)
64 
66 #define STR_TO_UL_FPTR VOID_PTR(0x80325b24)
67 
68 /************************** print.h ***************************/
69 
71 #define SPRINTF_FPTR VOID_PTR(0x80323cf4)
72 
73 /************************** math.h ****************************/
74 
76 #define SIN_FPTR VOID_PTR(0x80326220)
77 
79 #define COS_FPTR VOID_PTR(0x80326200)
80 
82 #define TAN_FPTR VOID_PTR(0x803261bc)
83 
85 #define ACOS_FPTR VOID_PTR(0x80022d1c)
86 
88 #define ASIN_FPTR VOID_PTR(0x80022dbc)
89 
91 #define ATAN_FPTR VOID_PTR(0x80022e68)
92 
94 #define ATAN2_FPTR VOID_PTR(0x80022c30)
95 
97 #define EXP_FPTR VOID_PTR(0x8000ce50)
98 
100 #define LOG_FPTR VOID_PTR(0x803265a8)
101 
103 #define FABS_FPTR VOID_PTR(0x803261b4)
104 
106 #define RECIP_SQRT_FPTR VOID_PTR(0x80022df8);
107 
108 /************************** profile.h *************************/
109 
111 #define OS_GET_TIME_FPTR VOID_PTR(0x8034c3f0)
112 
114 #define OS_GET_TICK_FPTR VOID_PTR(0x8034c408)
115 
117 #define OS_GET_SYSTEM_TIME_FPTR VOID_PTR(0x8034c410)
118 
120 #define OS_TIME_TO_SYSTEM_TIME_FPTR VOID_PTR(0x8034c474)
121 
122 /************************** memcard.h *************************/
123 
124 #define CARD_INIT_FPTR VOID_PTR(0x803530e4)
125 
126 #endif