mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 16:22:41 +02:00
Decompile _Genld
This commit is contained in:
1 parent
48a00e50b3
commit
a0e294c252
4 files changed
+183
-428
No files matched your search
@@ -3,10 +3,35 @@
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
/* 00 */ long long s64;
|
||||
double f64;
|
||||
} value;
|
||||
/* 08 */ char *buff;
|
||||
/* 0c */ int n0;
|
||||
/* 10 */ int num_leading_zeros;
|
||||
/* 14 */ int part2_len;
|
||||
/* 18 */ int num_mid_zeros;
|
||||
/* 1c */ int part3_len;
|
||||
/* 20 */ int num_trailing_zeros;
|
||||
/* 24 */ int precision;
|
||||
/* 28 */ int width;
|
||||
/* 2c */ unsigned int size;
|
||||
/* 30 */ unsigned int flags;
|
||||
/* 34 */ char length;
|
||||
} printf_struct;
|
||||
|
||||
#define FLAGS_SPACE 1
|
||||
#define FLAGS_PLUS 2
|
||||
#define FLAGS_MINUS 4
|
||||
#define FLAGS_HASH 8
|
||||
#define FLAGS_ZERO 16
|
||||
|
||||
u32 func00004a80(void);
|
||||
u32 func00004c04(void);
|
||||
u32 func00004c50(void);
|
||||
u32 func000050ec(void);
|
||||
u32 func000051a4(void);
|
||||
u32 _Ldtob(void);
|
||||
u32 _Ldunscale(void);
|
||||
void _Genld(printf_struct *px, char code, char *p, short nsig, short xexp);
|
||||
|
||||
#endif
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
u32 memcpy(void);
|
||||
void *memcpy(void *, const void *, size_t);
|
||||
u32 strlen(char *str);
|
||||
u32 strchr(void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user