Attempt to decompile ai01bd

This commit is contained in:
Ryan Dwyer 2019-12-03 18:00:22 +10:00
parent 3ee48d7590
commit b150fd0d34
2 changed files with 17 additions and 1 deletions

View File

@ -7,6 +7,7 @@
#include "game/game_0b28d0.h"
#include "game/game_165670.h"
#include "game/game_16cfa0.h"
#include "game/game_19c990.h"
#include "setup/setup_000000.h"
#include "setup/setup_0160b0.h"
#include "setup/setup_020df0.h"
@ -14137,6 +14138,21 @@ glabel ai01bd
/* f05ebb4: 00000000 */ sll $zero,$zero,0x0
);
// Mismatch due to different temporary registers
//bool ai01bd(void)
//{
// u8 *cmd = g_Vars.ailist + g_Vars.aioffset;
// s32 *value = func0f1a1818();
//
// if (*value * 16 < 0) {
// g_Vars.aioffset = chraiGoToLabel(g_Vars.ailist, g_Vars.aioffset, cmd[2]);
// } else {
// g_Vars.aioffset += 3;
// }
//
// return false;
//}
/**
* @cmd 01be
*/

View File

@ -74,7 +74,7 @@ u32 func0f1a16a4(void);
u32 func0f1a1714(void);
u32 func0f1a176c(void);
u32 func0f1a17e4(void);
u32 func0f1a1818(void);
s32 *func0f1a1818(void);
u32 func0f1a1824(void);
u32 func0f1a190c(void);
u32 func0f1a1998(void);