decompile s_basic, cleanup mangled names in f_pc (#101)

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
lepelog
2021-01-26 23:11:50 +01:00
committed by GitHub
parent 3ee8a929a9
commit ce0d0c3521
9 changed files with 46 additions and 63 deletions
+17 -1
View File
@@ -1 +1,17 @@
// ok
/* s_basic.cpp autogenerated by split.py v0.4 at 2021-01-26 08:03:35.809652 */
#include "SStandard/s_basic.h"
// sBs_FillArea_s__FPvUls
void sBs_FillArea_s(void* pPtr, u32 pNumBytes, s16 pValue) {
s16* castPtr = (s16*)pPtr;
for (int i = 0; i < pNumBytes / 2; i++) {
*castPtr = pValue;
castPtr++;
}
}
// sBs_ClearArea__FPvUl
void sBs_ClearArea(void* pPtr, u32 pNumBytes) {
sBs_FillArea_s(pPtr, pNumBytes, 0);
}