mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 13:30:47 +00:00
4d3d264624
* Decompile code_801067F0, 80106860, 801068B0 * clang format * Remove unnecessary casts
13 lines
290 B
C
13 lines
290 B
C
#include <ultra64.h>
|
|
#include <global.h>
|
|
|
|
// memset used in __osMalloc, z_quake, z_view, and z_camera
|
|
void* func_80106860(void* ptr, s32 val, size_t size) {
|
|
u8* sp4 = ptr;
|
|
register s32 a3;
|
|
|
|
for (a3 = size--; a3 != 0; a3 = size--) {
|
|
*sp4++ = val;
|
|
}
|
|
return ptr;
|
|
}
|