func_80AB2834 OK

This commit is contained in:
tom-overton 2021-11-01 18:29:10 -07:00
parent f342801e4e
commit 9033e73e83
2 changed files with 15 additions and 3 deletions

View File

@ -81,7 +81,18 @@ void func_80AB27B4(ObjTokeidai* this) {
this->unk_150 = 0;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_Obj_Tokeidai/func_80AB2834.s")
void func_80AB2834(ObjTokeidai* this) {
s32 temp;
func_80AB27B4(this);
temp = (s32)(this->unk_170 * 0.00036621094f);
this->unk_16C = temp;
this->unk_152 = temp * 2730.6667f;
this->unk_154 = 0;
this->unk_156 = 0;
this->unk_15C = 0;
this->unk_158 = func_80AB2790(this);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_Obj_Tokeidai/func_80AB28C8.s")

View File

@ -16,10 +16,11 @@ typedef struct ObjTokeidai {
/* 0x014C */ s16 unk_14C;
/* 0x014E */ s16 unk_14E;
/* 0x0150 */ s16 unk_150;
/* 0x0152 */ char unk_152[0x2];
/* 0x0152 */ s16 unk_152;
/* 0x0154 */ s16 unk_154;
/* 0x0156 */ s16 unk_156;
/* 0x0158 */ char unk_158[0x6];
/* 0x0158 */ s32 unk_158;
/* 0x015C */ s16 unk_15C;
/* 0x015E */ s16 unk_15E;
/* 0x0160 */ s16 unk_160;
/* 0x0162 */ s16 unk_162;