Decompile __freeParam

This commit is contained in:
Ryan Dwyer 2021-03-27 23:16:15 +10:00
parent 8487831897
commit b8d25f1305
3 changed files with 6 additions and 16 deletions

View File

@ -5,7 +5,6 @@
#include "types.h"
u32 func00030ce0(void);
u32 func00031564(void);
u32 func00031590(void);
u32 func000315f4(void);
u32 func00031634(void);

View File

@ -578,20 +578,11 @@ ALParam *__allocParam()
return update;
}
GLOBAL_ASM(
glabel func00031564
/* 31564: 3c0e8006 */ lui $t6,%hi(alGlobals)
/* 31568: 8dcef114 */ lw $t6,%lo(alGlobals)($t6)
/* 3156c: 8dcf002c */ lw $t7,0x2c($t6)
/* 31570: ac8f0000 */ sw $t7,0x0($a0)
/* 31574: 3c188006 */ lui $t8,%hi(alGlobals)
/* 31578: 8f18f114 */ lw $t8,%lo(alGlobals)($t8)
/* 3157c: af04002c */ sw $a0,0x2c($t8)
/* 31580: 03e00008 */ jr $ra
/* 31584: 00000000 */ nop
/* 31588: 03e00008 */ jr $ra
/* 3158c: 00000000 */ nop
);
void __freeParam(ALParam *param)
{
param->next = alGlobals->drvr.paramList;
alGlobals->drvr.paramList = param;
}
GLOBAL_ASM(
glabel func00031590

View File

@ -6139,7 +6139,7 @@ glabel func0003e8c0
/* 3f160: 8fab0050 */ lw $t3,0x50($sp)
/* 3f164: ad600080 */ sw $zero,0x80($t3)
.L0003f168:
/* 3f168: 0c00c559 */ jal func00031564
/* 3f168: 0c00c559 */ jal __freeParam
/* 3f16c: 8fa40034 */ lw $a0,0x34($sp)
/* 3f170: 8fa80050 */ lw $t0,0x50($sp)
/* 3f174: 8d0c007c */ lw $t4,0x7c($t0)