mirror of
https://github.com/zeldaret/tp
synced 2026-05-30 00:47:05 -04:00
decompile s_basic, cleanup mangled names in f_pc (#101)
Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user