d_a_agbsw0 Almost OK

Biggest gaps are where it needs other actor classes, couple functions with regalloc issues too
This commit is contained in:
SuperDude88
2023-09-24 20:34:09 -04:00
parent 83e28a5fc2
commit 0220c2a510
12 changed files with 2553 additions and 231 deletions
+2474 -205
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1598,7 +1598,7 @@ void daPy_lk_c::getAnmData(daPy_lk_c::daPy_ANM) const {
}
/* 8012894C-80128988 .text checkGrabWeapon__9daPy_lk_cFi */
void daPy_lk_c::checkGrabWeapon(int) {
BOOL daPy_lk_c::checkGrabWeapon(int) {
/* Nonmatching */
}
+1 -1
View File
@@ -2728,7 +2728,7 @@ void dKy_instant_rainchg() {
}
/* 801973B8-80197404 .text dKy_moon_type_chk__Fv */
int dKy_moon_type_chk() {
u32 dKy_moon_type_chk() {
int weekday = dKy_get_dayofweek();
if (dComIfGs_getTime() < 180.0f) {
+9 -6
View File
@@ -685,13 +685,16 @@ void mDoGaC_agbCom_c::mDoGaC_ReadResult() {
}
}
/* 8001BA34-8001BA68 .text BigLittleChange__FUl */
// NONMATCHING - not even close
u32 BigLittleChange(u32 param_0) {
u8 b1 = param_0 >> 8;
u8 b2 = param_0 >> 0x10;
u8 b3 = param_0 >> 0x18;
return (param_0 << 0x18) | (b1 << 0x10) | (b2 << 8) | b3;
u32 big = param_0;
u32 little;
reinterpret_cast<u8*>(&little)[0] = reinterpret_cast<u8*>(&big)[3];
reinterpret_cast<u8*>(&little)[1] = reinterpret_cast<u8*>(&big)[2];
reinterpret_cast<u8*>(&little)[2] = reinterpret_cast<u8*>(&big)[1];
reinterpret_cast<u8*>(&little)[3] = reinterpret_cast<u8*>(&big)[0];
return little;
}
/* 8001BAA0-8001BADC .text __dt__15mDoGaC_agbCom_cFv */