// // Generated By: dol2asm // Translation Unit: s_basic // #include "SSystem/SStandard/s_basic.h" #include "dol2asm.h" #include "dolphin/types.h" /* 80271C8C-80271CAC 0020+00 s=1 e=0 z=0 None .text 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++; } } /* 80271CAC-80271CD0 0024+00 s=0 e=2 z=0 None .text sBs_ClearArea__FPvUl */ void sBs_ClearArea(void* pPtr, u32 pNumBytes) { sBs_FillArea_s(pPtr, pNumBytes, 0); }