Decompile func0f14c7dc

This commit is contained in:
Ryan Dwyer
2021-10-03 17:47:58 +10:00
parent 87d4a61353
commit f6111bc428
2 changed files with 12 additions and 16 deletions
+11 -15
View File
@@ -2049,21 +2049,17 @@ glabel func0f14c75c
/* f14c7d8: 27bd0028 */ addiu $sp,$sp,0x28
);
GLOBAL_ASM(
glabel func0f14c7dc
/* f14c7dc: 24030001 */ addiu $v1,$zero,0x1
/* f14c7e0: 24020040 */ addiu $v0,$zero,0x40
/* f14c7e4: 240e0004 */ addiu $t6,$zero,0x4
/* f14c7e8: a0820004 */ sb $v0,0x4($a0)
/* f14c7ec: a0820005 */ sb $v0,0x5($a0)
/* f14c7f0: a0800006 */ sb $zero,0x6($a0)
/* f14c7f4: a08e0007 */ sb $t6,0x7($a0)
/* f14c7f8: a0830008 */ sb $v1,0x8($a0)
/* f14c7fc: a0800009 */ sb $zero,0x9($a0)
/* f14c800: a083000a */ sb $v1,0xa($a0)
/* f14c804: 03e00008 */ jr $ra
/* f14c808: a083000b */ sb $v1,0xb($a0)
);
void func0f14c7dc(struct textureconfig *tconfig)
{
tconfig->width = 64;
tconfig->height = 64;
tconfig->level = 0;
tconfig->format = 4;
tconfig->depth = 1;
tconfig->s = 0;
tconfig->t = 1;
tconfig->unk0b = 1;
}
void func0f14c80c(void)
{
+1 -1
View File
@@ -46,7 +46,7 @@ void func0f14bec8(s32 index);
void func0f14c1cc(s32 index);
void func0f14c50c(struct var8007f8e0 *arg0, struct var8007f8e0 *arg1, u32 line, char *file);
void func0f14c75c(struct textureconfig *arg0, struct textureconfig *arg1);
u32 func0f14c7dc(void);
void func0f14c7dc(struct textureconfig *tconfig);
u32 func0f14c814(struct textureconfig *arg0);
Gfx *func0f14c870(Gfx *gdl, struct textureconfig *tconfig, f32 *arg2, f32 arg3, f32 arg4);
void func0f14cdb8(s32 index, u8 *arg1);