mirror of
https://github.com/zeldaret/oot
synced 2026-06-08 20:29:37 -04:00
Decompile code_801067F0, 80106860, 801068B0 (#89)
* Decompile code_801067F0, 80106860, 801068B0 * clang format * Remove unnecessary casts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user