Melee Modding Library
2.0.0
A C library for modding Super Smash Bros Melee
|
Pointers to in game functions (NTSC 1.02) More...
Go to the source code of this file.
Macros | |
#define | VOID_PTR(x) ((void*) (x)) |
#define | PLAYER_ENTITY_FPTR VOID_PTR(0x80034110) |
#define | RAND_INT_FPTR VOID_PTR(0x80380580) |
#define | OS_CREATE_HEAP_FPTR VOID_PTR(0x803440e8) |
#define | OS_ALLOC_FROM_HEAP_FPTR VOID_PTR(0x80343ef0) |
#define | OS_FREE_TO_HEAP_FPTR VOID_PTR(0x80343fec) |
#define | MEM_CHR_FPTR VOID_PTR(0x8032390c) |
#define | MEM_CMP_FPTR VOID_PTR(0x803238c8) |
#define | MEM_CPY_FPTR VOID_PTR(0x800031f4) |
#define | MEM_SET_FPTR VOID_PTR(0x80003130) |
#define | STR_CHR_FPTR VOID_PTR(0x8032578) |
#define | STR_CMP_FPTR VOID_PTR(0x803258e8) |
#define | STRN_CMP_FPTR VOID_PTR(0x803258a8) |
#define | STR_CPY_FPTR VOID_PTR(0x80325a50) |
#define | STRN_CPY_FPTR VOID_PTR(0x80325a0c) |
#define | STR_LEN_FPTR VOID_PTR(0x80325b04) |
#define | STR_TO_UL_FPTR VOID_PTR(0x80325b24) |
#define | SPRINTF_FPTR VOID_PTR(0x80323cf4) |
#define | SIN_FPTR VOID_PTR(0x80326220) |
#define | COS_FPTR VOID_PTR(0x80326200) |
#define | TAN_FPTR VOID_PTR(0x803261bc) |
#define | ACOS_FPTR VOID_PTR(0x80022d1c) |
#define | ASIN_FPTR VOID_PTR(0x80022dbc) |
#define | ATAN_FPTR VOID_PTR(0x80022e68) |
#define | ATAN2_FPTR VOID_PTR(0x80022c30) |
#define | EXP_FPTR VOID_PTR(0x8000ce50) |
#define | LOG_FPTR VOID_PTR(0x803265a8) |
#define | FABS_FPTR VOID_PTR(0x803261b4) |
#define | RECIP_SQRT_FPTR VOID_PTR(0x80022df8); |
#define | OS_GET_TIME_FPTR VOID_PTR(0x8034c3f0) |
#define | OS_GET_TICK_FPTR VOID_PTR(0x8034c408) |
#define | OS_GET_SYSTEM_TIME_FPTR VOID_PTR(0x8034c410) |
#define | OS_TIME_TO_SYSTEM_TIME_FPTR VOID_PTR(0x8034c474) |
Pointers to in game functions (NTSC 1.02)
#define VOID_PTR | ( | x | ) | ((void*) (x)) |
Cast address to void*
- make it a function pointer
#define PLAYER_ENTITY_FPTR VOID_PTR(0x80034110) |
u32 playerEntity(u32)
#define RAND_INT_FPTR VOID_PTR(0x80380580) |
u32 randInt(u32)
#define OS_CREATE_HEAP_FPTR VOID_PTR(0x803440e8) |
handle_t OSCreateHeap(void*, void*)
#define OS_ALLOC_FROM_HEAP_FPTR VOID_PTR(0x80343ef0) |
void* OSAllocFromHeap(handle_t, size_t)
#define OS_FREE_TO_HEAP_FPTR VOID_PTR(0x80343fec) |
void OSFreeToHeap(handle_t, void*)
#define MEM_CHR_FPTR VOID_PTR(0x8032390c) |
#define MEM_CMP_FPTR VOID_PTR(0x803238c8) |
#define MEM_CPY_FPTR VOID_PTR(0x800031f4) |
#define MEM_SET_FPTR VOID_PTR(0x80003130) |
#define STR_CHR_FPTR VOID_PTR(0x8032578) |
#define STR_CMP_FPTR VOID_PTR(0x803258e8) |
#define STRN_CMP_FPTR VOID_PTR(0x803258a8) |
#define STR_CPY_FPTR VOID_PTR(0x80325a50) |
#define STRN_CPY_FPTR VOID_PTR(0x80325a0c) |
#define STR_LEN_FPTR VOID_PTR(0x80325b04) |
size_t strlen(const char* str)
#define STR_TO_UL_FPTR VOID_PTR(0x80325b24) |
uint32_t strtoul(const char* str, char** endptr, int base)
#define SPRINTF_FPTR VOID_PTR(0x80323cf4) |
int sprintf(char* str, const char* format, ...)
#define SIN_FPTR VOID_PTR(0x80326220) |
float sin(float x)
#define COS_FPTR VOID_PTR(0x80326200) |
float cos(float x)
#define TAN_FPTR VOID_PTR(0x803261bc) |
float tan(float x)
#define ACOS_FPTR VOID_PTR(0x80022d1c) |
float acos(float x)
#define ASIN_FPTR VOID_PTR(0x80022dbc) |
float asin(float x)
#define ATAN_FPTR VOID_PTR(0x80022e68) |
float atan(float x)
#define ATAN2_FPTR VOID_PTR(0x80022c30) |
float atan2(float y, float x)
#define EXP_FPTR VOID_PTR(0x8000ce50) |
float exp(float x)
#define LOG_FPTR VOID_PTR(0x803265a8) |
float log(float x)
#define FABS_FPTR VOID_PTR(0x803261b4) |
float fabs(float x)
#define RECIP_SQRT_FPTR VOID_PTR(0x80022df8); |
float recipSqrt(float x)
#define OS_GET_TIME_FPTR VOID_PTR(0x8034c3f0) |
u32 OSGetTime()
#define OS_GET_TICK_FPTR VOID_PTR(0x8034c408) |
u32 OSGetTick()
#define OS_GET_SYSTEM_TIME_FPTR VOID_PTR(0x8034c410) |
u32 OSGetSystemTime()
#define OS_TIME_TO_SYSTEM_TIME_FPTR VOID_PTR(0x8034c474) |
u32 OSGetTick()