papermario/src/code_28910_len_5090.c
2020-10-29 21:37:15 +00:00

209 lines
5.5 KiB
C

#include "code_28910_len_5090.h"
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004D510);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004D794);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004D7E0);
s32 func_8004DA0C(UNK_TYPE arg0) {
s32 ret = 0;
if (arg0 != 0) {
UnkStructFor8004DAA8* unknown;
do {
unknown = func_8004D794();
} while (0);
do {
if (unknown == NULL) {
ret = 2;
} else if (arg0 == unknown->unk_01C) {
func_8004DAA8(unknown);
ret = 0;
}
} while (0);
} else {
ret = 3;
}
return ret;
}
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DA74);
void func_8004DAA8(UnkStructFor8004DAA8 *arg0) {
if (arg0->unk_221 != 0) {
arg0->unk_221 = 4;
arg0->unk_010 = 1;
arg0->unk_008 = 1;
func_80053A18(&arg0->unk_02C);
}
}
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DAE0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DB28);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DB4C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DC80);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DCB8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DE2C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004DFD4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E0F4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E158);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E344);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E3A4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E444);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E4B8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E5D8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E844);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E880);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004E904);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004EA34);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004EAD4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004EC04);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004EC68);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FBBC);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FC08);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FCB4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FCE4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FD04);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FD38);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FD94);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FE10);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FE6C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FEB0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FED0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FF3C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FF58);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FF70);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FF88);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FFA8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FFB4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FFC8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FFE4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FFF0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8004FFFC);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050004);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050020);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050128);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8005015C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050184);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800501A8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800502F0);
void func_80050560(void) {
}
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050568);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800505E4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050654);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8005068C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800506C8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050770);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050818);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8005083C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8005087C);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050888);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050900);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050970);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050B90);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050C30);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050C54);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050C64);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050CA0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050D50);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050E18);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050E84);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050EF0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050F64);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050FD0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80051050);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800510A4);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800511BC);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80051334);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80051434);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800521D0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800521E8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800522A8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_8005232C);