//
// Generated by dtk
// Translation Unit: s_basic.cpp
//

#include "SSystem/SStandard/s_basic.h"
#include "dolphin/types.h"

/* 80254D8C-80254DAC       .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++;
    }
}

/* 80254DAC-80254DD0       .text sBs_ClearArea__FPvUl */
void sBs_ClearArea(void* pPtr, u32 pNumBytes) {
    sBs_FillArea_s(pPtr, pNumBytes, 0);
}
