Decompile hatAssignToChr

This commit is contained in:
Ryan Dwyer 2020-11-29 09:25:46 +10:00
parent 8025865ce4
commit 8164b22ee5
2 changed files with 5 additions and 12 deletions

View File

@ -40331,17 +40331,10 @@ glabel func0f089d64
/* f089db4: 00000000 */ nop
);
GLOBAL_ASM(
glabel hatAssignToChr
/* f089db8: 27bdffe8 */ addiu $sp,$sp,-24
/* f089dbc: afbf0014 */ sw $ra,0x14($sp)
/* f089dc0: 0fc22759 */ jal func0f089d64
/* f089dc4: 00000000 */ nop
/* f089dc8: 8fbf0014 */ lw $ra,0x14($sp)
/* f089dcc: 27bd0018 */ addiu $sp,$sp,0x18
/* f089dd0: 03e00008 */ jr $ra
/* f089dd4: 00000000 */ nop
);
void hatAssignToChr(struct hatobj *hat, struct chrdata *chr)
{
func0f089d64(hat, chr);
}
GLOBAL_ASM(
glabel chrTryEquipHat

View File

@ -251,7 +251,7 @@ u32 func0f089014(void);
bool func0f0899dc(struct prop *prop, f32 *arg0, f32 *arg1, f32 *arg2);
void func0f089a94(bool arg0, struct model *model);
u32 func0f089c70(void);
u32 func0f089d64(void);
void func0f089d64(struct hatobj *hat, struct chrdata *chr);
void hatAssignToChr(struct hatobj *hat, struct chrdata *chr);
u32 chrTryEquipHat(struct chrdata *chr, u32 model, u32 flags);
u32 func0f089f8c(void);