Decompile aiReleaseObject

This commit is contained in:
Ryan Dwyer 2019-10-21 20:52:01 +10:00
parent 5392ee4102
commit 2a3ccdb116
3 changed files with 9 additions and 18 deletions

View File

@ -16256,22 +16256,13 @@ glabel ai01ae
/**
* @cmd 01ad
*/
GLOBAL_ASM(
glabel ai01ad
/* f05e260: 27bdffe8 */ addiu $sp,$sp,-24
/* f05e264: afbf0014 */ sw $ra,0x14($sp)
/* f05e268: 0fc31f7b */ jal func0f0c7dec
/* f05e26c: 00002025 */ or $a0,$zero,$zero
/* f05e270: 3c03800a */ lui $v1,0x800a
/* f05e274: 24639fc0 */ addiu $v1,$v1,-24640
/* f05e278: 8c6e0438 */ lw $t6,0x438($v1)
/* f05e27c: 8fbf0014 */ lw $ra,0x14($sp)
/* f05e280: 27bd0018 */ addiu $sp,$sp,0x18
/* f05e284: 25cf0003 */ addiu $t7,$t6,0x3
/* f05e288: ac6f0438 */ sw $t7,0x438($v1)
/* f05e28c: 03e00008 */ jr $ra
/* f05e290: 00001025 */ or $v0,$zero,$zero
);
bool aiReleaseObject(void)
{
func0f0c7dec(0);
g_Vars.aioffset += 3;
return false;
}
/**
* @cmd 01af

View File

@ -393,7 +393,7 @@
/*0x01a7*/ bool aiIfChrPropsoundcountZero(void);
/*0x01aa*/ bool ai01aa(void);
/*0x01ab*/ bool aiIfNumKnockedOutChrs(void);
/*0x01ad*/ bool ai01ad(void);
/*0x01ad*/ bool aiReleaseObject(void);
/*0x01ae*/ bool ai01ae(void);
/*0x01af*/ bool ai01af(void);
/*0x01b1*/ bool ai01b1(void);

View File

@ -14382,7 +14382,7 @@ bool (*command_pointers[])(void) = {
/*0x01aa*/ ai01aa,
/*0x01ab*/ aiIfNumKnockedOutChrs,
/*0x01ac*/ NULL,
/*0x01ad*/ ai01ad,
/*0x01ad*/ aiReleaseObject,
/*0x01ae*/ ai01ae,
/*0x01af*/ ai01af,
/*0x01b0*/ NULL,