Decompile some SComponent data and some MSL_C.PPCEABI.bare.H headers (#115)

* data for c_angle

* data c_sxyz

* partially migrated c_xyz data

* c_xyz data

* c_xyz data decomp

* c_math data

* c_math data

* c_lib data, some cleanup

* rename some unnamed functions and create header for them

* header for string functions

* format and fix fabsf

* cleanup

* remove more unneded function prototypes

* move fpclassify to math.h
This commit is contained in:
lepelog
2021-02-19 16:51:02 +01:00
committed by GitHub
parent bbf1d1c34c
commit 5c83d2532c
110 changed files with 513 additions and 1173 deletions
+10 -2
View File
@@ -3,6 +3,16 @@
#include "SComponent/c_lib.h"
#include "JSystem/JMath/JMath.h"
#include "SComponent/c_math.h"
#include "msl_c/string.h"
static const f32 lbl_804551E0 = 0;
static const f64 lbl_804551E8 = 0.5; // 0x3fe0000000000000
static const f64 lbl_804551F0 = 3.0; // 0x4008000000000000
static const f64 lbl_804551F8 = 0.0;
// static const u8 lbl_80455200[4] = { 0x2e, 0xaf, 0xeb, 0xff };
// static const u8 lbl_80455204[4] = { 0x00, 0x00, 0x00, 0x00 }; //
// padding
static const s64 lbl_80455200 = 0x2eafebff00000000;
extern "C" {
int abs(int);
@@ -11,9 +21,7 @@ void __mi__4cXyzCFRC3Vec(void);
void __ml__4cXyzCFf(void);
void __ne__4cXyzCFRC3Vec(void);
void cM_atan2s__Fff(void);
void memcpy(void*, const void*, int);
void normZP__4cXyzCFv(void);
void* memset(void* dest, int ch, u32 count);
}
// cLib_memCpy__FPvPCvUl