Change back string.c/h, fix m434Dll, work on m433Dll/player.c (#530)

* Change back string.h as the change breaks things

* Fix m434Dll

* Work on m433Dll/player.c
This commit is contained in:
dbalatoni13 2025-01-14 22:36:09 +01:00 committed by GitHub
parent 58925bcf5d
commit c621824464
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 4113 additions and 31 deletions

View file

@ -23,8 +23,8 @@ typedef struct M433DllWork {
void fn_1_584(omObjData *object);
void fn_1_618(omObjData *object);
s32 fn_1_216C(void);
s32 fn_1_2184(void);
u32 fn_1_216C(void);
u32 fn_1_2184(void);
void fn_1_219C(s32 arg0, s32 arg1, s32 arg2);
void fn_1_21E4(s32 arg0);
void fn_1_2214(s32 arg0);

View file

@ -1,22 +1,11 @@
#ifndef _STRING_H_
#define _STRING_H_
#include "stddef.h"
typedef unsigned long size_t;
#ifdef __MWERKS__
__declspec(section ".init") void* memcpy(void* dest, const void* src, size_t n);
__declspec(section ".init") void __fill_mem(void* dest, int val, size_t count);
__declspec(section ".init") void* memset(void* dest, int val, size_t count);
#else
void* memcpy(void* dest, const void* src, size_t n);
void __fill_mem(void* dest, int val, size_t count);
void* memset(void* dest, int val, size_t count);
#endif
void* memcpy(void* dst, const void* src, size_t n);
void* memset(void* dst, int val, size_t n);
int memcmp(const void* lhs, const void* rhs, size_t count);
void* __memrchr(const void* ptr, int ch, size_t count);
void* memchr(const void* ptr, int ch, size_t count);
void* memmove(void* dst, const void* src, size_t n);
char* strrchr(const char* str, int c);
char* strchr(const char* str, int c);
int strncmp(const char* str1, const char* str2, size_t n);